Buy Questpond's video subscriptions on
huge discount
.
Online: 3185
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 ...
Which function is used to know the database name by giving the database ID?
Posted by
Abhisek
on 2/25/2010 | Category:
Sql Server Interview questions
| Views: 3859
Post
|
Interview FAQs
|
Exclusive Questions
|
Interview Home
Answer:
The DB_NAME function is used to know the database name. It takes the database id as the argument.
DB_NAME(dbID)
Example:-
SELECT DB_NAME(5) -->Student
Asked In:
Many Interviews |
Alert Moderator
Bookmark It
< Previous :
How to know the ID of a database?
Next > :
Why FLOOR function is used?
Comments or Responses
Login to post response
More Interview Questions by Abhisek
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 ...
Which function is used to convert the integer value into spaces?
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 ...