Viewing 15 posts - 1 through 15 (of 91 total)
Actually, I have a Windows 7 laptop running Excel 2003 as well. I'd really prefer to get that running, but I need to make either of these work.
In the...
February 22, 2010 at 3:34 pm
Hmm even throwing a try/catch around the INSERT (in place of the IF) has the same issue. The query falls over when it can't find the Excel sheet.
Any more...
July 28, 2009 at 8:27 pm
Brilliant, thanks Gints! That's exactly what I'm after!
Sam
February 11, 2009 at 8:49 pm
Hi Steve,
Had a chat with the BA and turns out we don't need this info anymore anyway! W00t!
Would still be interested to see how it's done if you're interested...
February 10, 2009 at 11:19 pm
Thanks for all the help people, keep it coming!
🙂
February 9, 2009 at 4:09 pm
OK, I'll try and boil the question down...
"How can I restore a database to a different server using a login which doesn't exist in the original database; AND add the...
August 11, 2008 at 6:46 pm
All,
Given the problem is a bit sporadic, and I don't have easy access to testing the problem, I'm going to go with the "(NOLOCK)" solution for now. Thanks for...
July 29, 2008 at 5:14 pm
Hi All,
Daryl: I've tried removing the WHERE clause information and realised that it now seems to miss the point of the WHERE clause - that is; I'm not getting a...
July 27, 2008 at 5:50 pm
Hi Mike,
I haven't used EXCEPT before but after looking it up it seems to do what you want by showing those rows from server A which are different to those...
July 24, 2008 at 5:14 pm
Hi Mike,
Basically the comparison you've suggested is saying "if any of the fields in Server A are different from any of the fields on Server B, then update the whole...
July 24, 2008 at 1:50 am
Thanks Gail. Not sure exactly which resources it's deadlocking on but have a hunch it's something to do with the subselect. Will try refining the query and try...
July 23, 2008 at 12:22 am
You can also use the CHECKSUM function to determine if fields have changed. That is, you can compare CHECKSUM(serverA.col1, serverA.col2, serverA.col3) to CHECKSUM(serverB.col1, serverB.col2, serverB.col3) to determine if a...
July 22, 2008 at 5:25 pm
Hi Mike,
You could use a linked server to connect server B and server A. You can then query a table on server B using the following notation: serverB.databaseName.dbSchema.tableName (provided...
July 22, 2008 at 5:22 pm
Hi all,
I seem to have been able to overcome this using SQL Server aliases (see here: http://msdn.microsoft.com/en-us/library/ms190445.aspx). Will reply here if I get stuck again.
July 13, 2008 at 7:30 pm
Viewing 15 posts - 1 through 15 (of 91 total)