Format SQL Script in Visual Studio 2012 [closed]
Asked Answered
R

1

10

Normally we can format code or markup in visual studio with Ctrl + K + D shortkeys.

How we can format SQL script code like stored procedures or views or other things using shortkeys?

Note: I am using SSDT with VS2012, where I can edit scripts of a database, but I can't find format option.

Republican answered 21/2, 2013 at 12:14 Comment(0)
R
3

I don't think there's a built-in SQL Format option for SSDT. You can use a plug-in such as Red-Gate's SQL Prompt to get that functionality, but I don't think there's a native option for formatting SQL at this time.

Romaic answered 1/5, 2013 at 15:22 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.