Viewing 15 posts - 2,956 through 2,970 (of 7,614 total)
February 14, 2019 at 8:09 am
February 13, 2019 at 1:01 pm
You can use a list of CROSS APPLYs to evaluate columns and concatenate values as you need to. The great thing is that new aliases ("columns") created in a CA...
February 13, 2019 at 11:13 am
Check for INSERT triggers on the table being INSERTed into, just to be sure. The error could be occurring in a trigger rather than for the main INSERT.
February 12, 2019 at 12:52 pm
Sounds like you are looking only for a single match. If so,you should skip the dbs after a match if found:
IF OBJECT_ID('tempdb.dbo.#stop_flag') IS NOT NULL
February 12, 2019 at 9:33 am
What do you mean by 'three-part-naming issues'?
If the table resides in a separate db, then you reference the table you will need to include the db name, either...
February 11, 2019 at 4:29 pm
No. It's random which you get if there are multiple matches. If you want a specific match, write your own code to do that. For example:
February 11, 2019 at 2:27 pm
February 11, 2019 at 1:03 pm
Separate new filegroup(s) are fine, you don't really need a separate db, and you don't want to deal with the three-part-naming issues that a separate db would require.
February 11, 2019 at 11:20 am
February 8, 2019 at 2:44 pm
Effectively yes. If you're updating a single row in a non-columnstore table, then the main row (from the clus index or from the heap) must be read in order to...
February 8, 2019 at 9:00 am
Nah, ISNULL() in a SET is fine. It's only in WHERE and join-related clauses that it makes a difference.
February 7, 2019 at 4:04 pm
February 7, 2019 at 3:27 pm
Viewing 15 posts - 2,956 through 2,970 (of 7,614 total)