Click here to Skip to main content
15,867,686 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
Gaston Verelst30-Nov-20 21:12
Gaston Verelst30-Nov-20 21:12 
GeneralRe: Controversial: SQL Pin
raddevus1-Dec-20 2:26
mvaraddevus1-Dec-20 2:26 
GeneralRe: Controversial: SQL Pin
Gaston Verelst1-Dec-20 2:31
Gaston Verelst1-Dec-20 2:31 
GeneralRe: Controversial: SQL Pin
Peter Adam1-Dec-20 0:00
professionalPeter Adam1-Dec-20 0:00 
GeneralRe: Controversial: SQL Pin
DumpsterJuice1-Dec-20 0:26
DumpsterJuice1-Dec-20 0:26 
GeneralRe: Controversial: SQL Pin
raddevus1-Dec-20 2:33
mvaraddevus1-Dec-20 2:33 
GeneralRe: Controversial: SQL Pin
DumpsterJuice1-Dec-20 2:52
DumpsterJuice1-Dec-20 2:52 
GeneralRe: Controversial: SQL Pin
Member 145416481-Dec-20 1:33
professionalMember 145416481-Dec-20 1:33 
I would suggest a couple of things:
- a stored procedure that is just a collection of these wonderful SQL statements that is commented well and set up to NOT be runnable (comment out the whole thing between /* and */, probably)
- set up a comment area above each piece of code with keywords or details about what the code does and what it would be useful for
- using a search (CTRL-F) on the stored procedure you called GreatCodeToMaybeReuseSomeday (or whatever) to find the SQL of interest.
- Copy and paste the code you found.

Probably the closest to "think it and it will appear"
GeneralRe: Controversial: SQL Pin
Member 103624061-Dec-20 1:57
Member 103624061-Dec-20 1:57 
GeneralRe: Controversial: SQL Pin
raddevus1-Dec-20 2:35
mvaraddevus1-Dec-20 2:35 
GeneralRe: Controversial: SQL Pin
Brian Battles1-Dec-20 2:38
Brian Battles1-Dec-20 2:38 
GeneralRe: Controversial: SQL Pin
raddevus1-Dec-20 2:51
mvaraddevus1-Dec-20 2:51 
GeneralRe: Controversial: SQL Pin
ElectronProgrammer1-Dec-20 2:40
ElectronProgrammer1-Dec-20 2:40 
GeneralRe: Controversial: SQL Pin
raddevus1-Dec-20 2:53
mvaraddevus1-Dec-20 2:53 
GeneralRe: Controversial: SQL Pin
ElectronProgrammer1-Dec-20 4:03
ElectronProgrammer1-Dec-20 4:03 
GeneralRe: Controversial: SQL Pin
Rusty Bullet1-Dec-20 3:19
Rusty Bullet1-Dec-20 3:19 
GeneralRe: Controversial: SQL Pin
raddevus1-Dec-20 3:35
mvaraddevus1-Dec-20 3:35 
GeneralRe: Controversial: SQL Pin
rnbergren1-Dec-20 3:14
rnbergren1-Dec-20 3:14 
GeneralRe: Controversial: SQL Pin
raddevus1-Dec-20 3:37
mvaraddevus1-Dec-20 3:37 
GeneralRe: Controversial: SQL Pin
obermd1-Dec-20 3:31
obermd1-Dec-20 3:31 
GeneralRe: Controversial: SQL Pin
raddevus1-Dec-20 3:54
mvaraddevus1-Dec-20 3:54 
GeneralRe: Controversial: SQL Pin
AndrewGT1-Dec-20 3:36
AndrewGT1-Dec-20 3:36 
GeneralRe: Controversial: SQL Pin
raddevus1-Dec-20 3:55
mvaraddevus1-Dec-20 3:55 
GeneralRe: Controversial: SQL Pin
Marc Clifton1-Dec-20 4:11
mvaMarc Clifton1-Dec-20 4:11 
GeneralRe: Controversial: SQL Pin
raddevus1-Dec-20 8:53
mvaraddevus1-Dec-20 8:53 

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.