Home Forums SQLServerCentral.com Anything that is NOT about SQL! Are the posted questions getting worse? RE: Are the posted questions getting worse?
December 14, 2017 at 4:19 pm
Sean Lange - Thursday, December 14, 2017 2:56 PMBrandie Tarvin - Thursday, December 14, 2017 12:54 PM<headdesk>Seriously with the ;CTE issue?
Not a post. Happened at work. Something like this:
Declare @MyVariable Datetime;
Set @MyVariable = GETDATE();;WITH CTE AS (....)
You ALREADY had the semi-colon in the line above. You don't need to repeat it!!! (not anyone on this thread. Just that mysterious "you" that everyone likes to talk about).
GAH.
Okay, rant done.
But I wasn't yet sure if my previous statement had been terminated so I wanted to make sure;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;with MyCTE as;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
There, fixed the unterminated CTE for you...
😀