Click here to Skip to main content
15,887,313 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Controversial: SQL Pin
Matt Bond1-Dec-20 3:15
Matt Bond1-Dec-20 3:15 
GeneralRe: Controversial: SQL Pin
raddevus1-Dec-20 3:39
mvaraddevus1-Dec-20 3:39 
GeneralRe: Controversial: SQL Pin
Member 106801793-Dec-20 8:11
Member 106801793-Dec-20 8:11 
GeneralRe: Controversial: SQL Pin
obeobe30-Nov-20 23:53
obeobe30-Nov-20 23:53 
GeneralRe: Controversial: SQL Pin
BryanFazekas1-Dec-20 1:11
BryanFazekas1-Dec-20 1:11 
GeneralRe: Controversial: SQL Pin
Jörgen Andersson30-Nov-20 8:18
professionalJörgen Andersson30-Nov-20 8:18 
GeneralRe: Controversial: SQL Pin
raddevus30-Nov-20 8:25
mvaraddevus30-Nov-20 8:25 
GeneralRe: Controversial: SQL Pin
Jörgen Andersson30-Nov-20 8:47
professionalJörgen Andersson30-Nov-20 8:47 
1) I simply use the file system. Every file gets a [declarative name].sql, so you can doubleclick and it will start SSMS or whatever program is associated. The master folder is also added to TortoiseHg for versioning

2) Then you need to use dynamic SQL, which is a whole can of worms by itself, and also a possible source of so called SQL-injection

3) I use a fancy invention called Comments for that. Just add them to forementioned Files
In Oracle you can also add comments directly to the tables and columns themselves, but in SQL Server you only have Extended Properties, which aren't nearly the same thing
Wrong is evil and must be defeated. - Jeff Ello
Never stop dreaming - Freddie Kruger

GeneralRe: Controversial: SQL Pin
raddevus30-Nov-20 10:54
mvaraddevus30-Nov-20 10:54 
GeneralRe: Controversial: SQL Pin
#realJSOP30-Nov-20 10:22
mve#realJSOP30-Nov-20 10:22 
GeneralRe: Controversial: SQL Pin
Richard Deeming30-Nov-20 21:13
mveRichard Deeming30-Nov-20 21:13 
GeneralRe: Controversial: SQL Pin
raddevus1-Dec-20 2:30
mvaraddevus1-Dec-20 2:30 
GeneralRe: Controversial: SQL Pin
Dan Neely30-Nov-20 8:37
Dan Neely30-Nov-20 8:37 
GeneralRe: Controversial: SQL Pin
k505430-Nov-20 8:57
mvek505430-Nov-20 8:57 
GeneralRe: Controversial: SQL Pin
raddevus30-Nov-20 10:39
mvaraddevus30-Nov-20 10:39 
GeneralRe: Controversial: SQL Pin
W Balboos, GHB30-Nov-20 9:20
W Balboos, GHB30-Nov-20 9:20 
GeneralRe: Controversial: SQL Pin
raddevus30-Nov-20 9:48
mvaraddevus30-Nov-20 9:48 
GeneralRe: Controversial: SQL Pin
Slacker00730-Nov-20 9:27
professionalSlacker00730-Nov-20 9:27 
GeneralRe: Controversial: SQL Pin
raddevus30-Nov-20 9:50
mvaraddevus30-Nov-20 9:50 
GeneralRe: Controversial: SQL Pin
Mycroft Holmes30-Nov-20 10:52
professionalMycroft Holmes30-Nov-20 10:52 
GeneralRe: Controversial: SQL Pin
Member 1330167930-Nov-20 19:50
Member 1330167930-Nov-20 19:50 
GeneralRe: Controversial: SQL Pin
raddevus1-Dec-20 2:24
mvaraddevus1-Dec-20 2:24 
GeneralRe: Controversial: SQL Pin
Member 133016791-Dec-20 2:28
Member 133016791-Dec-20 2:28 
GeneralRe: Controversial: SQL Pin
raddevus1-Dec-20 2:50
mvaraddevus1-Dec-20 2:50 
GeneralRe: Controversial: SQL Pin
Gaston Verelst30-Nov-20 21:12
Gaston Verelst30-Nov-20 21:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.