SQL declaraion in multiple variables

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
User avatar
dude81
Forum Regular
Posts: 509
Joined: Mon Aug 29, 2005 6:26 am
Location: Pearls City

SQL declaraion in multiple variables

Post by dude81 »

Hi
I have a problem here with an sql query

Code: Select all

sql="DECLARE V_NUMBER NUMBER(6)=:'$seq_no'
After this I want to declare on more variable in the smae way, can anyone tell me the format

Thank You
dude81
User avatar
dude81
Forum Regular
Posts: 509
Joined: Mon Aug 29, 2005 6:26 am
Location: Pearls City

Post by dude81 »

Sorry
One more variable I meant
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

Moved to databases.
Post Reply