Viewing 15 posts - 4,081 through 4,095 (of 7,187 total)
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
satwikchoudary (4/19/2013)
Can any one explain why does the select command turning to cross join please ??
In the old style syntax, a cross join was denoted by separating the tables to...
April 19, 2013 at 8:20 am
I'm sure it is. You'll either have to give db_owner access or speak to the vendor.
John
April 19, 2013 at 5:40 am
Thanks for posting back with the solution.
Please do not use the NOLOCK hint unless you completely understand the potential consequences. If in doubt, leave it out.
John
April 19, 2013 at 4:50 am
It's probably the application checking that you're a member of the db_owner role before you make the changes. If it allows you to proceed despite the fact you're not...
April 19, 2013 at 4:46 am
Viewing 15 posts - 4,081 through 4,095 (of 7,187 total)