USE Northwind GO DECLARE @lAccountName AS VARCHAR(20) DECLARE @lPassword AS VARCHAR(10) DECLARE @lAccountType AS UserDefined…
API示例 源代码
汇集 API示例 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。
USE Northwind GO INSERT INTO Account (AccountName,Password,AccountType,EML) VALUES('小吴','123456',UserDefinedType::Parse('1'),'x…
USE Northwind DECLARE @lCateName AS NVARCHAR(30) SET @lCateName ='fruit' DECLARE @lDescription AS NVARCHAR(30) SET @lDescripti…
EXEC sp_configure 'show advanced options','1'; go reconfigure; go EXEC sp_configure 'clr enabled','1' go
CREATE ASSEMBLY InsertCategories FROM 'D:\sqldemo\InsertCategories\InsertCategories\bin\Debug\InsertCategories.dll' WITH permis…
Alter Database Northwind SET TRUSTWORTHY ON Go CREATE ASSEMBLY InsertCategories FROM 'D:\sqldemo\InsertCategories\InsertCateg…
CREATE PROC dbo.InsertCategories ( @lCategoryName NVARCHAR(30), @lDescription NVARCHAR(30) ) AS EXTERNAL NAME InsertC…
IF EXISTS(SELECT * FROM sys.procedures WHERE ([name] = 'InsertTableCategories')) DROP PROCEDURE InsertTableCategories; GO IF …
DECLARE @lDateStr AS NVARCHAR(30) DECLARE @lToday AS DATETIME SET @lToday = GETDATE() exec DateToStr @lToday,@lDateStr OUTPUT …
sp_dropextendedproc 'xp_DateToStr' DBCC xp_DateToStr(FREE)