top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration Why to Join

Facebook Login
Site Registration

What does sp_validname do in SQL Server ?

+3 votes
174 views
What does sp_validname do in SQL Server ?
posted Mar 29, 2014 by Neeraj Pandey

Share this question
Facebook Share Button Twitter Share Button Google+ Share Button LinkedIn Share Button Multiple Social Share Button

1 Answer

0 votes

sp_validname is used to check valid SQL Server identifier names.
All nonbinary and nonzero data, including Unicode data that can be stored by using the nchar, nvarchar, or ntext data types, are accepted as valid characters for identifier names.

Syntax

sp_validname [@name =] 'name' 
    [, [@raise_error =] raise_error]

Arguments

[@name =] 'name'

Is the name of the identifier for which to check validity. name is sysname, with no default. name cannot be NULL, cannot be an empty string, and cannot contain a binary-zero character.

Source: http://technet.microsoft.com/en-us/library/aa260354(v=sql.80).aspx

answer Mar 29, 2014 by Salil Agrawal
Contact Us
+91 9880187415
sales@queryhome.net
support@queryhome.net
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Bangalore-560102
Karnataka INDIA.
QUERY HOME
...