Viewing 15 posts - 17,326 through 17,340 (of 59,067 total)
rajemessage 14195 (7/3/2016)
i have one dynamic sql and in need one temp table like
declare @db varchar(200)
declare @tablename varchar(200)
declare @sql varchar(max)
[font="Arial Black"]@sql='create table @temp1(a int null)[/font]
insert...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 3, 2016 at 10:46 pm
Have you tried searching for "The current transaction cannot be committed and cannot support operations that write to the log file".
Also, any triggers on the tables?
--Jeff Moden
Change is inevitable... Change for the better is not.
July 3, 2016 at 10:42 pm
Eirikur Eiriksson (7/2/2016)
Spam, spam and again spam 🙁 Why on earth is it so hard to tackle this problem on sqlservercentral.com???😎
From what I've heard, it's because they don't have the...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 3, 2016 at 10:33 pm
I read that article and I can't help but think that the cloud is becoming more like smoke and mirrors. Now you see it, now you don't.;-)
--Jeff Moden
Change is inevitable... Change for the better is not.
July 3, 2016 at 2:46 pm
ammit.it2006 (7/2/2016)
I also tried something similar..............:-Pselect ROW_NUMBER() over(order by id) , name From Table1
union
select ROW_NUMBER() over(order by id) +3, name From Table2
Unfortunately, that presupposes the esoteric knowledge that you...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 2, 2016 at 11:45 am
Quinn-793124 (7/1/2016)
How do you determine of SQL Server 2008 I am on so I can get the same level at 20014 so I don't lose functionality and compatible...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 2, 2016 at 8:39 am
smthembu (7/2/2016)
Thanks for your response. To answer a few
The VM is hosted with other VM's running on the same tin of which I dont have the number of other...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 2, 2016 at 8:30 am
It won't work for every SQL Server instance out there but I tend to use MAXDOP as a bit of a poor-man's resource governor. In my eyes, no one...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 1, 2016 at 6:13 pm
Br. Kenneth Igiri (6/27/2016)
--Jeff Moden
Change is inevitable... Change for the better is not.
July 1, 2016 at 5:44 pm
The Dixie Flatline (7/1/2016)
In the OPs problem at hand, we need something...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 1, 2016 at 5:33 pm
ScottPletcher (7/1/2016)
So if a column changes from non-unicode to unicode, you're going to insist that all existing code be changed to explicitly specify unicode strings for that column?
Actually, yes. ...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 1, 2016 at 5:29 pm
Since this is 2016, seems like a Lead or Lag would be the way to do this.
--Jeff Moden
Change is inevitable... Change for the better is not.
July 1, 2016 at 3:47 pm
ScottPletcher (7/1/2016)
--Jeff Moden
Change is inevitable... Change for the better is not.
July 1, 2016 at 10:50 am
Agreed... and the catch here is that if this happens, what else could happen? If you use the "N" prefix for the literals whenever NVARCHAR is used, it's pretty...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 1, 2016 at 9:27 am
Sergiy (6/30/2016)
ScottPletcher (6/30/2016)
Jeff Moden (6/24/2016)
Shifting gears a bit and depending on how that's used, it could become a performance problem due to the implicit conversions of the string literals. ...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 1, 2016 at 7:36 am
Viewing 15 posts - 17,326 through 17,340 (of 59,067 total)