Viewing 15 posts - 121 through 135 (of 7,635 total)
Miles Neale (9/5/2012)
September 5, 2012 at 6:36 pm
Sean Lange (9/5/2012)
RBarryYoung (9/5/2012)
Why on earth would you even want to do this? If a #temp still exists,...
September 5, 2012 at 6:01 pm
dbs.basu (9/5/2012)
try dbo.spt_values
Note: 4-year old thread.
September 5, 2012 at 5:55 pm
Jeff Moden (9/4/2012)
RBarryYoung (9/4/2012)
Jason-299789 (9/4/2012)
Jeff Moden (9/3/2012)
rka (9/2/2012)
DateKey has to be in the format YYYYMMDD
In SQL Server, that's a pretty insane requirement because that would make a character based date....
September 5, 2012 at 5:48 pm
Hmm, I just noticed what this is trying to do (thanks, Lowell!).
Why on earth would you even want to do this? If a #temp still exists, it's because someone...
September 5, 2012 at 12:14 pm
Luis Cazares (9/5/2012)
September 5, 2012 at 12:06 pm
And make them do their rollout/upgrade changes on a test or backup copy of your database first. Only when that suceeds should you consider giving them (temporary) access to...
September 5, 2012 at 11:42 am
The facility that does this is called "SQLMail", here's the msdn article on how to get started with it: http://msdn.microsoft.com/en-us/library/aa213788(v=SQL.80).aspx.
However, be forewarned: SQLMail requires you to install the Outlook client...
September 5, 2012 at 11:04 am
Well, I'm no fan of cursors, but the error says it all: The number of variables in the INTO clause of your FETCH commands must match the number of...
September 5, 2012 at 10:55 am
Jason-299789 (9/4/2012)
Jeff Moden (9/3/2012)
rka (9/2/2012)
DateKey has to be in the format YYYYMMDD
In SQL Server, that's a pretty insane requirement because that would make a character based date. Since you're...
September 4, 2012 at 7:46 pm
Some points:
1. A recursive CTE is likely to be slower, not faster.
2. It really is not at all clear what you are trying to do here. You may want...
September 4, 2012 at 7:11 pm
Is CrossDB chaining set on both databases? Or is it set for the whole Sever?
And are you still getting the same error?
September 4, 2012 at 6:20 pm
kumar-378458 (9/4/2012)
As you suggested I tried with Cross-db changing setup. But no luck. I got the same error. Can you please explain step by step code to do this...
September 4, 2012 at 12:58 pm
First, stop trying to use the EXECUTE AS statement. Instead you should be using the EXECUTE AS clause of the CREATE TRIGGER statement.
Secondly, the login that you are using...
September 4, 2012 at 12:44 pm
Viewing 15 posts - 121 through 135 (of 7,635 total)