Viewing 15 posts - 151 through 165 (of 179 total)
I did something like this before. Just wanted to note how I did it as it can eliminate the use of sed grep and find (since you already are...
August 28, 2008 at 6:43 am
all the solutions given use:
xp_cmdshell, sp_OACreate, sp_OAMethod
which you state is not an option.
what about clr procedures? you can access performance counters this way:
PerformanceCounterCategory pcc = new PerformanceCounterCategory("LogicalDisk", SERVER);
PerformanceCounter pcPercentFree...
August 26, 2008 at 9:02 am
Using command line options you can specify a server to connect to on startup - but this only opens a query window. The object explorer remains blank and you...
August 26, 2008 at 8:53 am
isn't this an interesting one.
Is this contained to one database, or all on the server?
Same on the master db?
Does the same thing happen when you run your query using a...
August 26, 2008 at 8:33 am
Look into merge replication. Might provide an acceptable solution for you.
http://msdn.microsoft.com/en-us/library/ms152746(SQL.90).aspx
August 25, 2008 at 1:55 pm
both scripts (2000 & 2005) run perfectly. This is a GOOD ONE.
Thanks!!
August 25, 2008 at 1:36 pm
-- and i just realized I didn't answer your question whatsoever. Talking about restores 🙂
check this article
http://www.karaszi.com/SQLServer/info_restore_no_truncate.asp
August 22, 2008 at 9:59 am
have you tried deleting and re-registering your server connection?
August 22, 2008 at 9:55 am
well ... here's what I know - might get you going.
Tools Menu / Options / Query Execution / "By Default, Open queries in SQLCMD mode" check box.
this will auto turn...
July 31, 2008 at 8:03 am
Ya, I don't know. I read it differently. It wasn't very clear.
I assume PID was the tree, and the second level was the branch. And the results...
July 30, 2008 at 11:54 am
I was thinking a recursive query, but couldn't think of how to properly make it go back down the tree to find the remaining items... the recursive query misses 40...
July 30, 2008 at 11:38 am
what im seeing, is you have 70. You know 10 is top level. So you want the entire tree that 70 is in.
Not just the path in the...
July 30, 2008 at 11:30 am
You can use views, join them to temp tables, and put it SP's.
But you can't create or reference a temp table within a view.
You have to do the...
July 30, 2008 at 5:55 am
this will generate an alter table statements -- i just whipped this up so its not tested, but should get you started. If I have some time tomorrow I'll...
July 29, 2008 at 2:00 pm
Viewing 15 posts - 151 through 165 (of 179 total)