Viewing 15 posts - 4,081 through 4,095 (of 7,191 total)
As I said before, clean up the data before it goes into AgencyDB so that it doesn't violate the constraints. If you need more detailed help than that, please...
April 26, 2013 at 2:41 am
Is there a PRIMARY KEY or UNIQUE constraint on account.account_id? If there is, that'll be why the execution plans are identical.
John
April 26, 2013 at 1:55 am
How are you restoring the information from one database to the other? You can't insert any rows into AgencyDB that would violate any constraints in that database. If...
April 26, 2013 at 1:45 am
You can't do much with the results of a stored procedure, other than insert them into a table. You'd be better rewriting the procs as functions, the results of...
April 25, 2013 at 6:43 am
Just remove the second "w:\dir\" from your command.
A good search term would be "ren command syntax".
John
April 25, 2013 at 4:41 am
I use the script below for setting up Database Mail. It's useful if you regularly build new servers or set up Database Mail on existing ones. You should...
April 25, 2013 at 4:35 am
m.rajesh.uk (4/25/2013)
I found there was fragmentation in my server and i rebuild the indexes to remove fragmentation. But even after rebuilding the...
April 25, 2013 at 1:58 am
What happens when you run the SELECT statement from Management Studio?
John
April 24, 2013 at 9:06 am
DevDB (4/24/2013)
My machine is
Microsoft SQL Server 2008 R2 (SP2) - 10.50.4000.0 (X64)...
April 24, 2013 at 7:49 am
Here we have an object lesson in why EAV tables are not a good thing. If you can't change the database structure, this should work for you:
SELECT DataId, PathId,...
April 24, 2013 at 7:45 am
I suspect this is because it's attempting to do the conversion in the WHERE clause for all values, not just those with PathID 30 and 31.
Try something like this:
WITH MyValues...
April 24, 2013 at 7:27 am
Does the same thing happen if you put your hex values in quotes in the first query?
John
April 24, 2013 at 3:41 am
OK, you should be in business. Back up your transaction log. Restore your full backup (preferably not overwriting the existing database) with no recovery. Restore the log...
April 23, 2013 at 9:04 am
You're setting the value of @strFind to a single character, yet you're then testing to see whether that value is in a list that includes strings of more than one...
April 19, 2013 at 8:55 am
Viewing 15 posts - 4,081 through 4,095 (of 7,191 total)