120 likes | 220 Views
Top secrets of SQL Server Management Studio 2008 . Louie Bao. Start up. Command line parameters. Start up. Ability to change the database for the connection. Especially useful when the default database is inaccessible. Connection properties.
E N D
Start up Command line parameters
Start up Ability to change the database for the connection. Especially useful when the default database is inaccessible. Connection properties Use colours to differentiate between development and production servers.
Go GoGo GO [count] GO is not a Transact-SQL statement, it is a command recognized by … and SQL Server Management Studio Code editor.
Keyboard shortcuts • Word Selection: Ctrl + w • Line Selection: Home, Shift + End • Vertical Range Selection: Alt (Hold) + Click and Drag
Keyboard shortcuts Advanced…
Keyboard shortcuts Tools -> Options -> Environment -> Keyboard
Find and replace (regex) Find what: create table:b*{\#:i} Replace with: if object_id('tempdb..\1') is not null\n\tdrop table \1\n\n\0
Find and replace (regex) Find what: {[:a')]}={[@(':a]} Replace with: \1 = \2
Template Template Explorer: Ctrl + Alt + T Specify Values for Template Parameters: Ctrl + Shift + M
Scripting Tools -> Options -> SQL Server Object Explorer -> Scripting
Tab Text Tools -> Options -> Text Editor -> Editor Tab and Status Bar