CREATE PROCEDURE SP_MENUMASTER_UPDATE(
@PARENT_ID INT(3)
,@MENU_NAME VARCHAR(100)
,@UR VARCHAR(100)
,@USR VARCHAR(255)
,@I_D INT(3)
,@ifvalue VARCHAR(50)
)
AS
BEGIN
CASE ifvalue
WHEN "newuser" THEN
UPDATE MENUMASTER SET USER=USR WHERE ID=I_D;
ELSE
UPDATE MENUMASTER SET PARENTID=PARENT_ID,MENUNAME=MENU_NAME,URL=UR
WHERE ID=I_D;
END CASE;
END
A trigger is a stored procedure. It is a special stored procedure that runs in response to some defined event, such as an insert into a table.
The connections bruk.
No it can be stored on two or more server in collaboration.
No there are stored on a server
A trigger is a special kind of stored procedures that automatically executes when an event occurs in the database server. Insert, update and delete are called as events.
local procedure wont store in database. Stored procedure store in database permanently and we can use it whenever we require. Other program also can use this stored procedure. And the transaction of stored procedure take care by DBA. But the local procedure transaction is take care by manually only
The items that were originally stored on this specific server still remain there today as this is still a server that is widely used. The information has had no reason to be transferred to another server.
web server
They're stored on the file server.
There is no way to view this information by way of SQL Server Management Studio. You could write a stored procedure against the SYSObjects tables to gather the information. You can also obtain information regarding the create / last accessed|used date of many objects from the same resources.
one copy of a website is stored on each of the web servers that is the local (on which the website is being resistered) and the other on the global web server(in California, U.S.A.).
dienstwagen