What is Dedicated Administrator Connection in sql server
2005?

Answers were Sorted based on User's Feedback



What is Dedicated Administrator Connection in sql server 2005?..

Answer / muruganandam05

In this The Administrators can use to access a running
server even if the server is locked or othervise
unavailable .This capability enables administrators to
troubleshoot problems on a server by executing diagnostic
function or Transact-SQL-Statements.

Is This Answer Correct ?    3 Yes 0 No

What is Dedicated Administrator Connection in sql server 2005?..

Answer / phani kiran sai

In the previous versions of MS SQL SERVER, if the server
maxed out the resources due to any of the reasons, it was
practically impossible to connect the server thru remote
desktop. As a result of such situations, the developers /
DBA'S were forced to "reboot". Doing this, many a times, the
SQL SERVER would try to properly shutdown properly by
forcing a CHECK POINT so as to minimize inconsistency, but
there would be instances when such CHECK POINT might not
occur thus screwing up data on the server.
Microsoft addressed this problem with DAC [ DEDICATED
ADMINISTRATOR CONNECTION ] which allows the developers /
DBA'S to connect to the server and perform T-SQL commands to
figure out the problem and perform necessary action accordingly.
syntax:
START -> RUN -> CMD
in dos mode.. enter the following

sqlcmd
[{ { -U login_id [ -P password ] } | –E trusted connection }]
[ -z new password ] [ -Z new password and exit]
[ -S server_name [ \ instance_name ] ] [ -H wksta_name ] [
-d db_name ]
[ -l login time_out ] [ -A dedicated admin connection ]
[ -i input_file ] [ -o output_file ]
[ -f < codepage > | i: < codepage > [ < , o: < codepage > ] ]
[ -u unicode output ] [ -r [ 0 | 1 ] msgs to stderr ]
[ -R use client regional settings ]
[ -q "cmdline query" ] [ -Q "cmdline query" and exit ]
[ -e echo input ] [ -t query time_out ]
[ -I enable Quoted Identifiers ]
[ -v var = "value"...] [ -x disable variable substitution ]
[ -h headers ][ -s col_separator ] [ -w column_width ]
[ -W remove trailing spaces ]
[ -k [ 1 | 2 ] remove[replace] control characters ]
[ -y display_width ] [-Y display_width ]
[ -b on error batch abort ] [ -V severitylevel ] [ -m
error_level ]
[ -a packet_size ][ -c cmd_end ]
[ -L [ c ] list servers[clean output] ]
[ -p [ 1 ] print statistics[colon format]]
[ -X [ 1 ] ] disable commands, startup script, enviroment
variables [and exit]
[ -? show syntax summary ]

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More SQL Server Interview Questions

what is spatial nonclustered index

0 Answers  


What is raid? : SQL Server Architecture

0 Answers  


What is self contained scalar sub query?

0 Answers  


Please differentiate between a local and a global temporary table?

0 Answers  


i need to know how i display department which has salary > =5000 for the below table Department ----------- salary deptname 1000 a 3000 a 2000 b 3000 b 4000 c 5000 c kindly send the query to thilakvinoth13@gmail.com

6 Answers  






how can u get last observation in an unknown dataset ?

0 Answers   Genpact,


What is difference between getdate and sysdatetime in sql server 2008?

0 Answers  


What are the tool windows in sql server management studio? : sql server management studio

0 Answers  


Assume,there are three tables in a database, Can i have both primary key and foreign key for each table in the same database?

4 Answers  


What is an extended Stored Procedure?

1 Answers  


Mention the differences between local and global temporary tables.

0 Answers  


According to you what goes into making the best database administrator? : sql server database administration

0 Answers  


Categories