Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
nguyenl
Posting Yak Master
128 Posts |
Posted - 2008-03-18 : 19:05:50
|
| My task is to convert this Informix SQl Script to SQL 2005, unfortunately I am not really familiar with Informix SQL. Below is an example script. I can figure out the "Select" statement and the "Where" statement, but the "From" statement is giving me a hard time. Any assistance would be appreciated.Thanksset explain on;UNLOAD TO '/export/home/permit/propinact.txt'SELECT distinct property.parcel_number,property.id,property.eff_from_date,property.eff_to_date,property.situs_address_id,legal_lines.legal_desc_line,tax_code_area.tca_number,usecd.value,ct.code_description,property_char.value,property.property_status_cd,legal_description.section,legal_description.township,legal_description.range,property.pact_codeFROM property,OUTER (legal_description, legal_lines),outer property_char,outer (property_char usecd, code_table ct),tax_code_area,prop_valuationWHERE property.id = prop_valuation.property_idAND property.id = legal_description.property_idAND property.eff_to_date <= TODAYAND legal_description.id = legal_lines.legal_idAND legal_lines.line_nr = 1AND tax_code_area.id = prop_valuation.tca_idAND property.id = property_char.property_idAND property_char.prop_char_typ_code = "SIZE"AND property.id = usecd.property_idAND usecd.prop_char_typ_code = "USECD"AND usecd.value = ct.code_table_cdAND property.pact_code <> 'PERS'ORDER BY id |
|
|
rmiao
Master Smack Fu Yak Hacker
7266 Posts |
Posted - 2008-03-21 : 20:48:26
|
| You can get Informix sql reference manual from IBM's web site for free. |
 |
|
|
dineshasanka
Yak Posting Veteran
72 Posts |
Posted - 2008-03-23 : 10:20:52
|
| If you can install OLEDB driver for INFORMIX, you can import data from SSIS---------------------http://dineshasanka.spaces.live.com/ |
 |
|
|
|
|
|
|
|