Viewing 15 posts - 5,746 through 5,760 (of 7,191 total)
Please will you provide table DDL and sample data in the form of insert statements. This wuill help us to help you.
Thanks
John
August 24, 2010 at 7:35 am
David Burrows (8/24/2010)
INSERT INTO #output(Amount) SELECT Amount FROM #tempd ORDER BY NEWID() ASC
David
I thought of that, and it would certainly work for the sample data provided. However, I reasoned...
August 24, 2010 at 7:17 am
Tom Carnahan (8/24/2010)
A topic I wish had been addressed is how to handle nulls in datetime fields. I think that you do the following. Let me know...
August 24, 2010 at 7:01 am
Please will you provide table DDL and sample data and show us what you've tried so far.
Thanks
John
August 24, 2010 at 4:54 am
There should be a New Query button near the top left hand corner of your screen. If there isn't, choose Toolbars from the View menu, and make sure Standard...
August 24, 2010 at 4:00 am
Use Profiler to capture the execution plans for the two ways of running the code, and then compare them.
John
August 24, 2010 at 3:52 am
Please copy the command from the job, paste it into a SSMS query window, run it, and tell me what happens.
John
August 24, 2010 at 3:18 am
The only way I know of performing a "downgrade" such as this is to script out your database and all objects in it, recreate it on the destination server, and...
August 24, 2010 at 3:14 am
Yes, I would expect that. But you were complaining that your BACKUP DATABASE statement was unsuccessful. What happens when you run that?
John
August 24, 2010 at 3:08 am
Paul
You're quite right - Books Online (2008 R2) says: "The SQL Server Native Client ODBC driver and SQL Server Native Client OLE DB Provider for SQL Server automatically set ANSI_NULLS...
August 24, 2010 at 3:04 am
If your databases are in Simple recovery mode, your transaction log backups will fail. What happens if you run your BACKUP DATABASE statement in a SSMS query window?
John
August 24, 2010 at 2:48 am
paul.knibbs (8/24/2010)
August 24, 2010 at 2:30 am
You can do that in SSIS without using any looping mechanism. Just set your data source using a query, something like SELECT col1, col2, col3 FROM MyTable WHERE type...
August 24, 2010 at 2:01 am
If you run SELECT [name] FROM sys.servers, do you see the old server name, or the new one?
John
August 24, 2010 at 1:54 am
Given the choice of thinking of something and being able to see it, I choose the latter. I don't have AdventureWorks, in any case. If you want help,...
August 23, 2010 at 8:39 am
Viewing 15 posts - 5,746 through 5,760 (of 7,191 total)