- Архив списков рассылки pgsql-novice

Поиск
Список
Период
Сортировка
От Mark G. Franz
Тема
Дата
Msg-id 035501c105a7$14823740$6401a8c0@mgflaptop
обсуждение исходный текст
Список pgsql-novice
Yes I'm a newbie...
 
I need to do a nested UPDATE to 2 tables, will this work?  (and no I didn't try it... production server)
 
st.executeUpdate("INSERT INTO Registration(ExpirationDate), Customer(UserName, Password) VALUES (DATETIME(NOW()+" + days + "), "+ username +", "+ password +" WHERE Customer.CustomerID=Registration.CustomerID AND Registration.CustomerID=" + id + ")");
 
Don't worry to much about the variables and such... just the SQL string.
 
Thanks!

В списке pgsql-novice по дате отправления:

Предыдущее
От: Kristensen Poul
Дата:
Сообщение: SV: Only 350 inserts(should be1000) at a time to postpgr es(or mysql) using odbc(win) ...
Следующее
От: Morgan Curley
Дата:
Сообщение: Cross database foreign keys