Viewing 15 posts - 76 through 90 (of 325 total)
No it doesn't. Possibly because cursors are relatively lightweight objects in Oracle whereas they're very expensive in SQL Server,
September 28, 2018 at 12:17 am
September 28, 2018 at 12:11 am
One thing I'd do is set @ScriptLog immediately after the BEGIN TRY with details of the operation you're about to try - that way if it fails your log contains...
September 27, 2018 at 1:12 pm
If there aren't any foreign keys (and logging tables like this rarely use them) just sp_rename the existing table to something else and recreate a new one. That way you...
September 27, 2018 at 12:55 pm
The letters are just table and column aliases they could be FISH(CAT) and they'd still work fine.
September 27, 2018 at 11:30 am
September 27, 2018 at 12:48 am
You're resetting the XPath in your Apply statements and going back to the root of the XML (because the paths start with '/'). What you want to do is work...
September 27, 2018 at 12:34 am
If you're writing a program anyway, I'd just have it call your stored procedures and write the output wherever you want it.
September 22, 2018 at 1:36 pm
I'd go with Lynn's suggestion of putting it in the ON clause of the join conditions, it's the cleanest syntax whilst avoiding accidentally converting an OUTER join into an INNER...
September 20, 2018 at 8:42 pm
It's worth noting that, because of the dynamic nature of JavaScript, it's typical to assume a "missing" field and a null field are equivalent and most systems would expect there...
September 20, 2018 at 8:31 pm
September 20, 2018 at 8:25 pm
You don't need to query the JSON, you already have the value in your view, since you're using it to construct the JSON in the first place.
September 20, 2018 at 7:52 pm
I'd rather an EODAY function to solve that. And I guess an SODAY, which perhaps means FOMONTH should be SOMONTH. And let's have an SOWEEK, EOWEEK whilst we're at it....
September 16, 2018 at 10:44 am
Lynn Pettis - Friday, September 14, 2018 10:59 AMBut it takes more typing... :laugh:
And more code reviewing. Particularly because intellisense in...
September 14, 2018 at 11:18 am
September 14, 2018 at 10:25 am
Viewing 15 posts - 76 through 90 (of 325 total)