General information
Forum:
Microsoft SQL Server
>Search Results
>
>--------------------------------------------------------------------------------
>for "db_ID" using All words
>--------------------------------------------------------------------------------
>
>Search needs a word or phrase to search for. Please try again.
>Search needs a category to search for. Please try again.
>Please enter a unique search to refine your results. You entered "db_ID" for your previous search, and those results are reflected in the list below.
>
>Sorry, no results were found for this search.
I don't get it. What are you searching for. The docs for that function?
DB_ID
Returns the database identification (ID) number.
Syntax
DB_ID ( [ 'database_name' ] )
Arguments
'database_name'
Is the database name used to return the corresponding database ID. database_name is nvarchar. If database_name is omitted, the current database ID is returned.
Return Types
smallint
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only