Viewing 15 posts - 751 through 765 (of 805 total)
Here you go. Besure to destroy the object. It'll eat your DB's memory!
DECLARE
@vPointerINT,
@vResponseTextVARCHAR(8000),
@vStatusINT,
@vStatusTextVARCHAR(200)
EXEC sp_OACreate 'MSXML2.ServerXMLHTTP', @vPointer OUTPUT
EXEC sp_OAMethod @vPointer, 'open', NULL, 'GET', 'http://localhost/Fiber/clients/'
EXEC...
April 3, 2003 at 10:29 am
There is actually a very easy way. Provided your DB can see the net.
Useing sp_OACreate and it's "friends" you can use the XMLHTTP control.
There is a lot in BOL explaining...
April 3, 2003 at 6:13 am
Try using IDENT_CURRENT
Have a look in BOL. A few examples included.
Crispin
April 2, 2003 at 3:25 am
I did something a couple years ago similiar to what you are after. (I Think )
What I did was get a list of users (sp_who) and attempted...
April 1, 2003 at 11:55 am
Something else I found in BOL. Look at xp_cmdshell.
quote:
CREATE PROC shutdown10AS
EXEC xp_cmdshell 'net send /domain:SQL_USERS ''SQL Server shutting down
...
April 1, 2003 at 11:42 am
As racosta said, killing connections could be dangerous.
Here is another solution.
If you pause SQL, it waits for all connections to close and denies new connections.
You could, using xp_cmdshell, pause it...
April 1, 2003 at 11:34 am
You should be able to use
@DBName + '.dbo.Table'
Crispin
Why don't you try practicing random acts of intelligence and senseless acts of self-control?
March 28, 2003 at 2:02 am
hmmm, Not sure then.
Possible to backup the db (one with one two tables) and email to me?
CP
Why don't you try practicing random acts of intelligence and senseless acts of...
March 21, 2003 at 1:29 pm
If you leave out the second part of your where, does it work then?
As far as I can see, that is what's causing the select to return the two rows.
Why...
March 21, 2003 at 1:10 pm
quote:
A six pack of "Fat Tire" would do nicely
I take it that is come kind...
March 21, 2003 at 12:58 pm
You can do a LEFT OUTER JOIN onto Persons.
SQL returns all matched on the left and any possibles or null on the right.
CP
Why don't you try practicing random acts of...
March 21, 2003 at 12:51 pm
You're just trying to show off...
I have not used DMO, can it in someway be added to a job? DTS/ActiveX Script?
CP
Why don't you try practicing random...
March 21, 2003 at 12:20 pm
LOL.
I was going to ask the same question.
I to wanted to do something like this.
I watched profiler while scripting and it does a huge amount of work.
Busy sifting through it....
March 21, 2003 at 11:42 am
quote:
I lived this nightmare for a while so I know your pain (inherited servers with odd collations).
March 20, 2003 at 10:15 am
Viewing 15 posts - 751 through 765 (of 805 total)