Buy Questpond's video subscriptions on
huge discount
.
Online: 1321
Home
Articles
Interviews
Forums
For Beginners
Popular Questions
ITIL Career Advice
PMP Career Advice
Career Advices
Codes
Videos
ASP.NET
ASP.NET MVC
Android Intel XDK
Sql Server
AngularJS
Bootstrap
Backbone.JS
MongoDB
LESS (CSS)
jQuery
WPF
WWF
SSIS
LightSwitch
Tutorials
News
ASP.NET MVC
|
Be Interview Ready
|
Top Performers
|
DNF MVP
|
Top Posts
|
Winners
|
Subscribe
|
Catalogs
Welcome Guest !
Register
Login
Home
>
Interviews
>
Sql Server
>
Loading ...
How to know the ID of a database?
Posted by
Abhisek
on 2/25/2010 | Category:
Sql Server Interview questions
| Views: 3427
Post
|
Interview FAQs
|
Exclusive Questions
|
Interview Home
Answer:
To know the ID of a database DB_ID function is used. It takes the database name as an argument.
DB_ID(dbName)
Example:-
SELECT DB_ID(Student) -->5
Asked In:
Many Interviews |
Alert Moderator
Bookmark It
< Previous :
Which function is used to perform a full text sear ...
Next > :
Which function is used to know the database name b ...
Comments or Responses
Login to post response
More Interview Questions by Abhisek
Which function is used to know the database name by giving the databas ...
Why FLOOR function is used?
Which function performs the opposite function of CEILING function in S ...
Which file sets the environment variables for Visual Studio?
The core classes for User Interface is located in which namespace?
Control class of WPF is derived from which class?
Which class is the base class of all the visual elements of WPF?
Which class of the WPF is the base class of all the user-interactive e ...
Latest Interview Questions
Write a way by which you can do something on the close of the window ?
Which assembly is used for Mobile web application?
what namespace is used for the controls in a mobile web application?
Syntax example to add strong name to an assembly "C:\\aaaa.dll&qu ...
Name the utility used for adding a strong name to an assembly.
What is GAC ?
Name the utility used to add an assembly into the GAC.
How to get the number of quarter from given date?
More ...