Viewing 15 posts - 46 through 60 (of 247 total)
Yeah, like THROW...try putting one in a BEGIN/END block and see SQL Server complain.
April 16, 2019 at 12:35 pm
To err is human. To really foul up - it takes a computer.
April 9, 2019 at 12:30 pm
November 1, 2018 at 6:57 am
October 25, 2018 at 7:16 am
I have seen it said that EXISTS/NOT EXISTS can be faster because it can "short circuit". That is, as soon as it find a case satisfying its condition, it's done,...
October 25, 2018 at 7:13 am
I used to have an old IBM Selectric keyboard...I loved typing on that thing, my hands must have bounced 6 inches off the keyboard with every touch. I can't say...
October 17, 2018 at 6:52 am
October 4, 2018 at 1:53 pm
And the problem with a stored procedure is that you have to work around Entity Framework (with different code) to get it to work, whereas a view appears to EF...
October 4, 2018 at 7:31 am
If you're using Entity Framework (not EF Core) I'd consider using a view, not a stored procedure, for the select. If you shape the view the way the entity expects...
October 4, 2018 at 6:51 am
I kinda disagree with #27 and 30, though I guess it depends on what version of SQL Server we're talking about. I wouldn't use @@ERROR, I'd use ERROR_NUMBER() and the...
September 28, 2018 at 6:57 am
September 20, 2018 at 6:57 am
August 28, 2018 at 7:15 am
August 17, 2018 at 7:55 am
I say this only because updating a fact table in a data warehouse is...
August 17, 2018 at 7:47 am
August 17, 2018 at 7:39 am
Viewing 15 posts - 46 through 60 (of 247 total)