![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
|
Simple sql question: How do you get the rowid of a record to pass to a temp table in ISQL? I tried renaming the field in the temp table and passing it in the clear, but neither work. I understand that rowid is a transient value and that you can't use the field name rowid in the temp table (since it would have it's own)... so what can I try? Here is what I've tried before: ======= select rowid id_num, f1, f2, ... from table group by id_num, f1, f2, ... into temp tmp_table; ======= select rowid id_num, f1, f2, ... from table group by rowid, f1, f2, ... into temp tmp_table; ======= select rowid id_num, f1, f2, ... from table group by f1, f2, ... into temp tmp_table; =========== Thanks... Rob |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |