skip to main
|
skip to sidebar
Source Guru
Saturday, August 25, 2012
Get Empty Guid using SQL Function
Get Empty Guid using SQL Server
Create FUNCTION [dbo].[GetEmptyGUID]()
RETURNS UNIQUEIDENTIFIER
AS
BEGIN
RETURN SELECT CAST(CAST(0 as BINARY) AS UNIQUEIDENTIFIER)
END
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Blog Archive
November
(1)
September
(1)
August
(10)
October
(1)
April
(1)
March
(1)
February
(3)
September
(20)
Labels
application
(1)
Check Box
(2)
CSV
(2)
Data Table
(9)
DropDown
(1)
Export
(2)
File
(2)
IIS
(1)
Import
(1)
Search
(1)
SQL
(5)
SQL Function
(6)
SQL Query
(2)
SQL Server
(6)
View
(1)
The Code Project Latest Articles
Loading...
No comments:
Post a Comment