IT Placement Papers Database SQL Server
This category contains SQL Server Interview Questions and Answers |
What does this return on SQL Server 2005?select NEWSEQUENTIALID()
|
|
|
|
|
This returns an error.
Explanation: This returns an error. The NEWSEQUENTIALID() function can only be used in a default constraint on a table, not in a query. When used there it returns a new GUID that is greater in value than any previously generated GUIDs.
Only registered users can write comments. Please login or register.
|