can we have two odbc entries in the same DB name?

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
albasir
Participant
Posts: 18
Joined: Fri Nov 09, 2007 11:08 am

can we have two odbc entries in the same DB name?

Post by albasir »

Hi Gurus,

Can we have two odbc entries with the same DB name only difference is server name?

Thanks for your effort and time. I appreciated it.


KFT_4875_STGQ29=NetezzaSQL

Driver=/opt/nz/lib/libnzodbc.so
Description=NetezzaSQL ODBC
Servername=<serer1>
Port=5480
Database=KFT_4875_STGQ29
CancelAsFreeStmt=false
CommLog=false
Ksqo=false
Lie=false
Optimizer=false
Parse=false
PreFetch=256
Protocol=7.0
ReadOnly=false
ShowSystemTables=false
Socket=16384
DateFormat=1
TranslationDLL=
TranslationName=
TranslationOption=


KFT_4875_STGQ29=NetezzaSQL


Driver=/opt/nz/lib/libnzodbc.so
Description=NetezzaSQL ODBC
Servername=<server2>
Port=5480
Database=KFT_4875_STGQ29
CancelAsFreeStmt=false
CommLog=false
Ksqo=false
Lie=false
Optimizer=false
Parse=false
PreFetch=256
Protocol=7.0
ReadOnly=false
ShowSystemTables=false
Socket=16384
DateFormat=1
TranslationDLL=
TranslationName=
TranslationOption=
V'TH LUV
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Nope. They need to be unique.
-craig

"You can never have too many knives" -- Logan Nine Fingers
albasir
Participant
Posts: 18
Joined: Fri Nov 09, 2007 11:08 am

Post by albasir »

Thanks Guru!
V'TH LUV
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Technically... my understanding is you can have two with the same name, it's just that it will never find and use the second one.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply