Viewing 15 posts - 1 through 15 (of 21 total)
Hi
You would generally return the results in a RecordSet.
Set RS=Server.CreateObject("Adodb.Recprdset")
RS.ActiveConnection="Some connection to a database"
Sql = "Select Id, Name From Users Where Name like '%Smi%'
Set RS=RS.Open SQL
If Not RS.Eof...
October 19, 2007 at 8:10 am
Hi Ken,
Thanks for that. Initial testing looks good (on a simple "Flat" table), I am going to try to adapt it so it works with a more complex multi table grouped...
April 13, 2007 at 4:58 am
A statement like "There is no excuse for ever using a cursor" is a very bold one.
I have a reasonably complex (50 tables) but not large (400Mb) database running behind a busy web...
January 15, 2007 at 4:37 am
You know, I am not an expert, but I can foresee some major problems for you in the future.
You have three tables. The products table is using the same column...
October 25, 2006 at 8:17 am
Hi,
If someone can tell me where the IF..THEN..ELSE clauses should be, and can prove that by putting them there I get better server performance I'd be glad to give it...
July 6, 2006 at 2:59 am
Hi Phil,
Single quotes are taken care of in the application, but they are a pain and I need to re-visit how they are handled.
The inputting and udating of information is in...
July 5, 2006 at 5:09 am
Hi Phil,
See, I knew the answer had to be simple... I went through the helpfiles but missed that one little gem.
Thanks, I shall give it a try later and see...
July 5, 2006 at 4:00 am
Hi,
I think you'll find that the WHERE clause is referencing only the month and year portions of the date in the src_terrier table
WHERE (DATEPART(mm,src_terrier.datadate) = DATEPART(mm,@dt_src_date) AND DATEPART(yyyy,src_terrier.datadate) =...
May 12, 2006 at 1:36 am
Hi,
My first thought is that you have all the necessary permissions in the temp table, but your other users don't. As a first port of call, that's what I'd check.
All Best
Conway
April 21, 2006 at 8:56 am
To get back to where this question came from....
I'm not heavily schooled in Databases etc, however, I have a good number of years experience working with them, and attempting to...
January 24, 2006 at 1:40 am
I think I have read somewhere in the help that while you can compare by using "is null", there is in fact no definite value for Null.
In example 1...
December 1, 2005 at 5:49 am
This might well be possible, but I'd rather go through each Store Procedure and ctrl-v the text in than experiment with code that is going to re-write 240 Stored Procedures...
November 22, 2005 at 9:14 am
Why not Use PatIndex And test for the existence of the pattern anywhere in the string?
Select CategoryId, Description
from Categories
Where
Patindex('%wee%', Description) <> 0
And Patindex('%es%', Description) <> 0
Use this...
November 22, 2005 at 9:05 am
The way I see it, you have an application that is logging into the server using a single account (Admin Account), which means all users of the application use the...
November 17, 2005 at 1:42 am
Hi,
I tend to do this a lot, and while it is time consuming, it generally works quite well.
Step 1: Create a couple of functions to check your incoming data is...
November 14, 2005 at 10:11 am
Viewing 15 posts - 1 through 15 (of 21 total)