Stored Procedure: Complied by John .K & Bharat
Stored Procedure: Complied by John .K & Bharat
K & Bharat
STORED PROCEDURE
Jan 2007
Complied by John .K & Bharat
transactions within code that may have front end code, will slow
up a transaction and therefore a lock will be held for longer than
necessary.
Jan 2007
Complied by John .K & Bharat
Jan 2007
Complied by John .K & Bharat
Jan 2007
Complied by John .K & Bharat
Yes, you can instantiate a COM (written in languages like VB, VC+
+) object from T-SQL by using sp_OACreate stored procedure.
Also see books online for sp_OAMethod, sp_OAGetProperty,
sp_OASetProperty, sp_OADestroy. For an example of creating a
COM object in VB and calling it from T-SQL, see 'My code library'
section of this site.
Jan 2007
Complied by John .K & Bharat
14. Syntax
• Create procedure - Creates a stored procedure, which is a saved
collection of Transact-SQL statements that can take and return user-
supplied parameters.
[ WITH
{ RECOMPILE | ENCRYPTION | RECOMPILE , ENCRYPTION } ]
[ FOR REPLICATION ]
AS sql_statement [ ...n ]
Jan 2007
Complied by John .K & Bharat
{ RECOMPILE | ENCRYPTION
| RECOMPILE , ENCRYPTION
}
]
[ FOR REPLICATION ]
AS
sql_statement [ ...n ]
Jan 2007