Viewing 15 posts - 661 through 675 (of 2,486 total)
Maybe ...
DECLARE @AccountID INT
SET @AccountID = 9290
SELECT A.AccountName, ISNULL(A2.AccountID, 0) AS 'RelAccLocalID', ISNULL(A2.AccountName, ''), ATypes.AccountTypeID, ATypes.AccountTypeDesc FROM Account A INNER JOIN AccountTypes ATypes ON A.AccountTypeID...
October 9, 2005 at 8:19 pm
Edit the DTS package and turn on Package Logging and you'll get a much more helpful error message.
October 9, 2005 at 4:50 pm
Hmmm ... I thought my solution was set based and it didn't require the generation of an extra table.
Was I wrong ???
October 8, 2005 at 2:01 am
Maybe you've over simplified the code you've posted, but I'd just replace all that with,
INSERT INTO TABLE1 (Column1,Column2,Column3) SELECT Column1, Column2 FROM Table1 WHERE Column3 = 1
October 7, 2005 at 1:23 am
Check this link for a script.
http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=8&messageid=16068&p=2
October 6, 2005 at 11:05 pm
raj, unless you're running a different system to everyone else I'm sure you can't retrieve the service accounts via sp_who.
October 6, 2005 at 10:59 pm
No you can't use the IN like this.
Without seeing the whole query and tables involved, here is how I might tackle the problem.
Left join from the table you're updating to...
October 6, 2005 at 8:50 pm
Wouldn't this be a case of using the non-ANSI Double FROM and using a derived table.
Delete from Mytab from Mytab as a inner join ( select Road, MainRoad from...
October 6, 2005 at 4:51 pm
You won't be able to use the SQL Agent Mail functionality to send out notifications unless you install a MAPI client.
As mentioned save yourself some hassle and take a look at...
October 6, 2005 at 4:34 pm
I believe these tables are also used with Visual Studio ( maybe for the source control part?? ) and the diagramming in Enterprise Manager.
Short answer don't remove them.
October 6, 2005 at 6:11 am
Hmmm ... the ever reliable Books Online reveals this,
datetime and smalldatetime
Date and time data from January 1, 1753, through December 31, 9999, with an accuracy of three-hundredths of...
October 5, 2005 at 10:43 pm
I'm seeing frequent use of the word "loop" in your pseudo code. Hopefully this doesn't translate into a cursor
Here's how you can move...
October 5, 2005 at 10:39 pm
If you want to use SQL Mail as is then you'll need to install Outlook, or another MAPI email client. You can also setup SQL Mail using POP/SMTP email client, but...
October 5, 2005 at 4:46 pm
"We no longer need the MSX/TSX setup on our db systems..."
I suppose that's your call to make, but having a MSX/TSX setup makes for much easier administration and maintenance, even...
October 5, 2005 at 7:54 am
You can check the list here http://www.file-ext.com/character.html
Whether you'd use them or not is another matter. I'd stick with the underscore character split up the parts,
EG: master_db_20051005_1750.bak
October 5, 2005 at 2:10 am
Viewing 15 posts - 661 through 675 (of 2,486 total)