sql server - What is the purpose of "::" in T-SQL -


in (non-english) book on t-sql (sql server 2005) read about:

select * ::fn_helpcollations() 

though, execution of without "::"

select * fn_helpcollations() 

in sql server 2008 r2 gives same result.

what "::" mean in t-sql?

from msdn:

however, when call sql server built-in functions return table, must add prefix :: name of function:

select * ::fn_helpcollations()

looks can omit :: in sql server 2005 , 2008. :: syntax supported backward compatibility.


Comments

Popular posts from this blog

ruby - When to use an ORM (Sequel, Datamapper, AR, etc.) vs. pure SQL for querying -

php - PHPDoc: @return void necessary? -

c++ - Convert big endian to little endian when reading from a binary file -