Jun 17, 2002 #1 dupa12345 MIS Jun 6, 2002 10 US can i do something like this somehow? declare x float; set x = select count(*) from t1; i want to use x as a row count in several places in following queries in my procedure. thx all for your previous responses!!!
can i do something like this somehow? declare x float; set x = select count(*) from t1; i want to use x as a row count in several places in following queries in my procedure. thx all for your previous responses!!!
Jun 17, 2002 #2 tdsmart Programmer Jun 2, 2002 9 US Your select statement in the procedure should be something like : select count(*) into :x from t1; Upvote 0 Downvote