Initial commit
This commit is contained in:
+13
@@ -0,0 +1,13 @@
|
||||
USE [Database]
|
||||
|
||||
IF OBJECT_ID('[Procedures].[update_attribute]', 'P') IS NOT NULL
|
||||
DROP PROCEDURE [Procedures].[update_attribute];
|
||||
GO
|
||||
CREATE PROCEDURE [Procedures].[update_attribute]
|
||||
@attribute_id AS INT,
|
||||
@name AS NVARCHAR(128)
|
||||
AS
|
||||
UPDATE [Tables].[attributes]
|
||||
SET [name] = @name
|
||||
WHERE [id] = @attribute_id;
|
||||
GO
|
||||
Reference in New Issue
Block a user