Jeremy Morano wrote:
> insert into test (uid, companyUid)
> values(1, select uid from companysTable where company = "Micrsoft");

insert into test (uid, companyUid) select 1,uid from companysTable 
where company = "Micrsoft";

I hope this works.

HTH
Wagner

-- 
Madness takes its toll. Please have exact change.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to