Viewing 15 posts - 1 through 15 (of 15 total)
I found the easiest solution was to just (1.) run the sql to detach via .Net (I was executing this via an intranet admin web page) and then (2.) use...
January 7, 2005 at 3:57 pm
Yeah - I definitely over-complicated it. After thinking more, the query is just "where combination scenario 1 is never true plus where either scenario 2 or scenario 3 are true" so...
November 5, 2004 at 8:23 am
Thanks everyone for the quick reply. Phil, your method will likely work, but I have a question for you still... I currently have the SQL below:
<code>
SELECT ... ,
'DNPISIMPORT' =
CASE
WHEN...
November 4, 2004 at 10:21 am
Thanks - that works great! Where can I find more information about these Case statements? I need to beef up on my...
May 7, 2004 at 6:27 am
The information I get is in the 'output' column / field, and contains 3 rows for each xp_cmdshell command. They are the...
April 19, 2004 at 10:03 am
I am using the sa user to connect to QA. When I run
EXEC master.dbo.xp_sqlagent_proxy_account N'GET'
(from BOL) I get no rows returned. ...
April 16, 2004 at 2:34 pm
I see that the account running SQL Server Agent (<myDomain>\ClusterAccount) has full control on the folder I wish to copy from, and the Everyone group has full control on the folder...
April 16, 2004 at 12:32 pm
That doesn't seem to be working for me either - I know I could just use c# and move the files that way, but I'd rather have this wrapped up...
April 15, 2004 at 3:17 pm
Thanks for your help already guys - this really helps! Here is my updated script:
USE master EXEC xp_cmdshell 'xcopy "\\server1\....\ASPState.mdf" "\\server2...\MSSQL\data2" /y'
I decided to only use the y switch because...
April 15, 2004 at 2:02 pm
I am attempting to create a script to move db's from one server to another. I have run into this problem as well.
April 12, 2004 at 3:07 pm
Steve,
Thank you for replying. I added my login to the sysadmin list and this still didn't solve the problem. I also added that login dbowner permissions on the master db...
March 29, 2004 at 6:31 am
Thanks guys, this will certainly help me!
I think I agree with Frank on the numeric PK performance enhancements. I think it just seems most obvious to visualize the rows...
February 26, 2004 at 2:19 pm
ok, so a Primary Key could be something like 'bmw' or 'ford' in a 'mfr_name' column in a table called 'vehicle_mfr' as long as the manufacturer was only in the...
February 26, 2004 at 12:14 pm
noeld,
thanks! I'll take a look at this and see if I can use it.
Brett
February 23, 2004 at 11:29 am
Here's some more information, if this helps: I am searching for questions related to the current glossary term, for a registered student. The glossary terms are referenced via a foreign...
February 23, 2004 at 7:53 am
Viewing 15 posts - 1 through 15 (of 15 total)