Viewing 15 posts - 56,326 through 56,340 (of 59,067 total)
Oh Jeez... the simplicity of your solution is even more proof of your genius... I'm a bit ashamed that I didn't figure it out on my own... much like "SQL...
May 24, 2007 at 11:44 pm
You, Sir, are not only a genius, but you've made my day... I tested it and that is precisely what I was looking for!
I've gotta ask, David... how in the...
May 24, 2007 at 11:32 pm
David,
Seems a bit complex in light of Jan's second solution. What was wrong with it?
May 24, 2007 at 11:09 pm
Undocumented "feature"? So what would SET @Counter = @Counter+1 be? ![]()
May 24, 2007 at 11:05 pm
Hi Mike...
Perhaps this will help... do read the comments... you'll figure how to use it... could turn it into a table variable function, I suppose...
USE Master
GO
CREATE PROCEDURE dbo.sp_GetDirectoryFileInfo
/****************************************************************************************
PURPOSE:
This...
May 24, 2007 at 10:54 pm
You can also call it from xp_CmdShell.
But, what does the VBScript you want to execute actually do? Lot's of folks overlook the power built into SQL Server and try to...
May 24, 2007 at 10:07 pm
You shouldn't... you should store the file name only and let the external app get the file using the file name.
May 24, 2007 at 10:04 pm
You still haven't told us, Janet... why do you need to do such a thing? Might lead to something even "cooler" if we knew...
May 24, 2007 at 9:12 am
>>Or did I misunderstand what's going on?
Just a bit, Scott... the OSQL would be executed by a scheduled "DOS Batch" process... not from SQL... that would make the SPIDs match...
May 24, 2007 at 8:21 am
Heh... yeah... When I started my post, your post wasn't there yet... I got interupted and came back to it. When I finally did post (forum hint: I always copy...
May 24, 2007 at 7:56 am
Kinda... if you don't consider any type of rounding, the FLOAT 17 digit's in the example I gave came up with the wrong answer...
But, after re-reading your posts, I...
May 24, 2007 at 7:51 am
>> For the above if there is no backup with in last 24 hrs then it will show null.
Does that mean the query did want you wanted or not?
May 24, 2007 at 7:33 am
Yeah... didn't even look at that part, Serqiy... just knew the outer table was the wrong one and quit there... good catch.
May 24, 2007 at 7:31 am
Heh... the "golden plate" was correct... somebody forgot to wash the glass though
JacekO is correct... the method being suggested doesn't use...
May 24, 2007 at 7:24 am
Viewing 15 posts - 56,326 through 56,340 (of 59,067 total)