Viewing 15 posts - 1,111 through 1,125 (of 15,381 total)
How about posting the actual code instead of an estimated execution plan? Also, it would be a LOT better to see the actual execution plan. You have a splitter in...
December 5, 2016 at 10:13 am
Eric M Russell (12/2/2016)
Another issue is what to do when the Address already exists. Address is a separate entity from Employee, and it would break proper normalization to duplicate addresses...
December 2, 2016 at 10:46 am
Duplicate post. direct replies here. http://www.sqlservercentral.com/Forums/Topic1839767-3411-1.aspx
December 2, 2016 at 10:39 am
You should look at the stairways on this very topic. It covers this and so much more. http://www.sqlservercentral.com/stairway/112556/%5B/url%5D
December 2, 2016 at 10:38 am
Please don't cross post. It just fragments replies and makes it harder.
The original thread can be found here. http://www.sqlservercentral.com/Forums/Topic1839767-3411-1.aspx
December 2, 2016 at 10:36 am
Phil Parkin (12/2/2016)
Just having a mind warp on how to insert into the address table and get that unique int value and put it into the correct master row for...
December 2, 2016 at 10:34 am
JALLY (12/2/2016)
December 2, 2016 at 9:27 am
JALLY (12/2/2016)
i want to apply a where condition to a column in the inventory table -dbo.Inventory inv like this:
where inv.active=1
without causing conflicts for the columns in...
December 2, 2016 at 8:16 am
Partha Mandayam (12/2/2016)
Interesting. I've never experienced that. So what code have you written to iterate thru all databases?
I rarely (if ever) have to do this. But creating a cursor using...
December 2, 2016 at 8:14 am
Kudos to Phil for the formatting. Now...what is the question??
December 2, 2016 at 8:02 am
Partha Mandayam (12/2/2016)
What bug did you find in sp_msforeachdb?
See my earlier post. It will sometimes skip databases.
December 2, 2016 at 7:22 am
John Mitchell-245523 (11/30/2016)
Sean Lange (11/30/2016)
November 30, 2016 at 8:07 am
From what is posted there is no need for dynamic sql at all. Why introduce the possibility of sql injection when you could simply skip the dyanmic sql entirely?
November 30, 2016 at 7:27 am
Do be careful using this procedure in a production environment. It will sometimes skip databases. http://sqlblog.com/blogs/aaron_bertrand/archive/2010/12/29/a-more-reliable-and-more-flexible-sp-msforeachdb.aspx
Here is another great article on the topic. https://spaghettidba.com/2011/09/09/a-better-sp_msforeachdb/%5B/url%5D
November 30, 2016 at 7:14 am
robert.sterbal 56890 (11/23/2016)
Can you share any recipes?
Our family will be having Thanksgiving at my wife's parents with turkey, gravy, mashed potatoes, stuffing, maple walnut...
November 23, 2016 at 8:34 am
Viewing 15 posts - 1,111 through 1,125 (of 15,381 total)