Viewing 15 posts - 556 through 570 (of 806 total)
Select dbo.OBTAIN_ID
or
Select * From dbo.OBTAIN_ID
if it returns a table.
Cheers,
Crispin
November 16, 2003 at 10:05 pm
Frank, use an anonymizer
http://www.space.net.au/~thomas/quickbrowse.html
Of course, if the FW blocks them your are...
Cheers,
Crispin
November 11, 2003 at 1:09 am
Should mention:
Exec @vErr = sp_OAMethod @oHTTP, 'responseText', @vResponse OUTPUT
If the final param is supplied, sp_OAMethod returns the result to tis variable.
If not, it returns it as a record.
I find the...
November 4, 2003 at 11:12 am
You could also invoke the XMLHTTP object through SQL.
Using this, you write the retrieved source to SQL.
Set NoCount On
Declare
@vRootURLVarchar(100),
@vFileNamevarchar(20),
@vChannelIDInt,
@oHTTPInt,
@vErrInt,
@vDLengthInt,
@vCurLengthInt,
@vStartInt,
@vEndInt,
@vFinalURLVarchar(500)
Create Table #T(Data Text)
Create Table #T2(Ident Int Not...
November 4, 2003 at 11:09 am
quote:
My experience is that the case statement is slow when the optional parameter is NULL, I converted all my sp's to use...
October 30, 2003 at 5:30 am
I got one of the data captures to go report an ID Ten T (ID10T) error to sys admin.....
Cheers,
Crispin
October 29, 2003 at 2:45 am
After reading the article and BOL I found out that I am right. Only because someone told me about it...
Both are kept in temp and both...
October 29, 2003 at 1:20 am
SQL looks sp_ in the MasterDB cache and not actual SysObjects (Am I correct?)
SPXXX does not cause as cache miss so I assume that it does not check master first...
October 28, 2003 at 11:00 am
You can also use
Where
Col1 = @Param1
and (Col2 = @Param2 OR @Param2 Is Null)
and (Col3 = @Param3 OR @Param3 Is Null)
etc etc
When executing, Either Col2 will be = @Param2 or @Param2...
October 28, 2003 at 10:47 am
Hi Gunther,
When using mem tables with large amount of rows, I suspect that SQL starts dumping them to disk.
I tried the differences between the normal temp and mem tables.
With small...
October 28, 2003 at 10:35 am
Just arrived in South Africa
Cheers,
Crispin
October 28, 2003 at 3:39 am
Have to give Frank credit for this!
There was a URL to MS discussing it. Did caution on large tables.
Maybe Frank still has the URL.
Use PUBS
Go
select rank=count(*),...
October 28, 2003 at 1:28 am
Instead of using a double convert, why not just add a N infront.
eg:
Convert(Binary, N'below')
Not sure if this does a convert in the background (Might do) but if not, it does...
October 27, 2003 at 11:35 pm
Access =
Is it really necessary for a NVarchar? Would a normal varchar not suffice?
Cheers,
Crispin
October 27, 2003 at 11:19 pm
Converting it to binary and comparing that would also work on a string.
ASCII only retuyrns the first char's value.
Set NoCount On
Create Table #X(N Varchar(100))
Insert Into #X Values('Crispin')
Insert Into #X Values('crispin')
Insert...
October 27, 2003 at 10:21 pm
Viewing 15 posts - 556 through 570 (of 806 total)