Viewing 15 posts - 1 through 15 (of 15 total)
Hello everyone,
My developer changed the delete statement to the following, which has cleared up the fatal error problem. (followed JDixon's suggestion)
string SomeID="0";
strsql="select id from DVD_I_Have where userid="+Session["userid"].ToString()+" and DVDID="+DVDID+" and onhold=0";
dr1=(SqlDataReader)DL.ExecuteCommandWithTransaction(strsql,ExecutionType.ExecuteReader,objcon,myTrans);
if(dr1.Read())
{
SomeID=dr1["id"].ToString();
}
dr1.Close();
strsql="delete...
January 31, 2007 at 6:17 am
Hi SQLBill,
Thanks for the reply! here's what I got...
Run this query:
SELECT ServerProperty('Edition'),
ServerProperty('ProductVersion'),
ServerProperty('ProductLevel')
RESPONSE: STANDARD EDITION 8.00.2039 - SP4
Have you checked the Windows Event Viewer Logs for related error messages?How...
January 30, 2007 at 4:51 pm
Thank you for the quick replies!
Lowell, the error message is consistent - I get it every time I execute the above statement.
As far as the complexity of the statement goes, its my developers...
January 30, 2007 at 3:05 pm
Much thanks to everyone that replied!
I used Lowells statement as it did return all entries regardless of the time entered, and since I only need to run it once per day, (although appreciated!) the...
May 18, 2006 at 8:53 am
Hey Frank, not a problem. Thanks for the help and I look forward to your input the next time i'm stuck.
Take Care,
Rob
March 3, 2004 at 3:02 pm
Ah but Frank - I did provide feedback that my problem was solved in a earlier post!
-----------------------------------------
I took your advice - found what I needed - it worked great!
March 3, 2004 at 2:45 pm
I hear you! The worst part of running a website is having to repeat the same information over and over again to your customers.
Take...
March 3, 2004 at 12:43 pm
Boy Frank, you germans are so demanding
I took your advice - found what I needed - it worked great!
March 2, 2004 at 4:12 pm
Hi Frank,
It's not very likely. I am thinking of adding the UK and Australia to my service, but I would not venture outside of providing services for countries which do not have english...
March 2, 2004 at 9:02 am
Thanks gdefi, between wz700 and yourself you both made my day!.
The statement works perfectly and functions exactly as intended. It will certainly add a professional touch to my monthly e-mail updates,...
March 2, 2004 at 7:24 am
wz700. Once again you were bang on and the statement worked fine, but regretfully my program won't pickup the new column created by the count function because it's not defined in...
March 1, 2004 at 9:37 pm
Thanks very much wz700, it worked like a charm.
Now that you have helped me accomplish that function, Could you tell me if it would be possible to calculate the number of duplicate...
March 1, 2004 at 7:16 pm
Jay thanks for the reply,
I know very little about stored procedures but I'll try and figure it out and put it to work. Is it possible to get the results...
June 9, 2003 at 7:51 pm
David - Npeters thanks for the reply,
David - the FK is a single column so I won't have a problem there.
Npeters - The reason I want to create a separate...
December 18, 2002 at 3:35 pm
Thanks for the reply David,
I read it in a posting on a SQL related site. I am glad to hear the PK can be used in more than 1 table...
December 16, 2002 at 5:09 pm
Viewing 15 posts - 1 through 15 (of 15 total)