Viewing 15 posts - 61 through 75 (of 325 total)
October 11, 2018 at 6:17 am
I was...
October 11, 2018 at 6:10 am
My suspicion would be IO contention, particularly if the logic in the view is causing heavy spilling into tempdb and if the data and log files are on the same...
October 10, 2018 at 10:22 am
October 10, 2018 at 9:19 am
Basically what...
October 10, 2018 at 8:53 am
If you are loading data...
October 10, 2018 at 8:33 am
I still find myself occasionally having to strip:
SELECT TOP 100 PERCENT
...
ORDER BY xxx
from views because somebody decided it was a way to "get around" not...
October 10, 2018 at 7:30 am
In both cases you're providing the foreign key constraint as a table constraint (hence having to specify the column "a") as opposed to specifying it as a column constraint (for...
October 10, 2018 at 7:01 am
October 10, 2018 at 6:12 am
October 10, 2018 at 6:05 am
October 10, 2018 at 5:39 am
Yes, this is why I've often had to explain to my boss (who is most definitely not a SQL guy) that getting hung up on what the language standard says...
October 2, 2018 at 11:17 am
The Industry_Sectors subquery is just missing the FOR JSON PATH. I'm not sure what you're trying to accomplish with the second but it isn't framed as a subquery.
October 2, 2018 at 12:40 am
Well the SQL server equivalent is probably to use a Custom Table Type and select a single row into it. It's not exactly equivalent but it's a close approximation.
October 1, 2018 at 9:48 am
Can this code be called by multiple overlapping callers? If so, you almost certainly have a race condition if multiple calls get the same result from SPRC_LASTID_GET before then attempting...
September 29, 2018 at 3:53 am
Viewing 15 posts - 61 through 75 (of 325 total)