tag:blogger.com,1999:blog-5238131531249720750.post7457523053829409260..comments2024-03-19T13:28:26.291+01:00Comments on Everything SQL Server Compact: SQL Server - using newsequentialid() as a function, similar to newid()ErikEJhttp://www.blogger.com/profile/12641272161018114573noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-5238131531249720750.post-56101540634320598822014-01-07T17:48:40.157+01:002014-01-07T17:48:40.157+01:00Richard: Excellent question, but that would make t...Richard: Excellent question, but that would make the assembly UNSAFE, which is not recommended and not allowed by many DBAs http://technet.microsoft.com/en-us/library/ms189524.aspx ErikEJhttps://www.blogger.com/profile/12641272161018114573noreply@blogger.comtag:blogger.com,1999:blog-5238131531249720750.post-21344654256380361242014-01-07T16:22:41.793+01:002014-01-07T16:22:41.793+01:00Instead of creating a table variable, why not simp...Instead of creating a table variable, why not simply P/Invoke the UuidCreateSequential function?<br /><br />http://pinvoke.net/default.aspx/rpcrt4/UuidCreateSequential.htmlAnonymoushttps://www.blogger.com/profile/12903548505537231305noreply@blogger.com