What is Dedicated Administrator Connection in sql server
2005?
Answer Posted / 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 View All Answers
Is it important for a database administrator to understand the operating system and file access?
Explain indexed views and partitioned view with their syntax.
How is foreign key related to primary key?
What is row_number () and partition by in sql server?
What are the tools available in market as an alternative to sql server reporting services?
What do you understand by user-defined function in the sql server and explain the steps to create and execute a user-defined function in the sql server?
Can I delete event logs?
What are drilldown reports?
How do you delete a trigger?
how you can list all the tables in a database?
How many non clustered indexes there can be on table ?
What do you mean by subquery?
How to convert numeric values to integers in ms sql server?
What is de-normalization in sql database administration? Give examples?
Do you know data definition language, data control language and data manipulation language?