Lesson for today
Nov. 4th, 2005 12:10 pmIn SQL.
"SELECT INTO" will clobber what was in the table originally.
This means it's not a good idea if you've just spent half an hour populating that table already.
Grr.
Oh well, at least I still have the source data and translation scripts.
"SELECT INTO" will clobber what was in the table originally.
This means it's not a good idea if you've just spent half an hour populating that table already.
Grr.
Oh well, at least I still have the source data and translation scripts.
no subject
Date: 2005-11-04 12:38 pm (UTC)no subject
Date: 2005-11-04 01:03 pm (UTC)no subject
Date: 2005-11-04 01:20 pm (UTC)Thankfully the contents of that table were mostly populated from a spreadsheet that I still had (and so just had to hack together the SQL again).
no subject
Date: 2005-11-04 01:02 pm (UTC)I've been teaching our gas team the wonders of SQL* recently.
*also called 'Access would take 3 hours to run that query. Do it my way.'.
no subject
Date: 2005-11-04 01:21 pm (UTC)no subject
Date: 2005-11-04 01:32 pm (UTC)The reason for the team having problems at the moment is that the Microsoft ODBC drivers really, really don't play nice with Oracle package views.
no subject
Date: 2005-11-04 01:45 pm (UTC)