If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Informix > Table Name with space

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-28-05, 11:40
riyac riyac is offline
Registered User
 
Join Date: Jun 2005
Location: Hottest place on the earth
Posts: 13
Table Name with space

We trying to migrate from SQL2000 to Informix. In SQL table names are created with spaces in the names (like "bank names" etc). Can we create a table name with space in Informix?
Reply With Quote
  #2 (permalink)  
Old 11-28-05, 12:03
blackguard blackguard is offline
Registered User
 
Join Date: Sep 2002
Posts: 102
............

Last edited by blackguard; 11-30-05 at 06:32.
Reply With Quote
  #3 (permalink)  
Old 11-29-05, 06:40
gurey gurey is offline
Registered User
 
Join Date: Aug 2003
Location: Argentina
Posts: 780
Hi,
Is not advisable in Informix, but define DELIMIDENT=1 and put the name among quotation marks.
Exam. export DELIMIDENTE=1, run dbaccess, then create table "my table" ...

Gustavo.
Reply With Quote
  #4 (permalink)  
Old 11-29-05, 11:29
riyac riyac is offline
Registered User
 
Join Date: Jun 2005
Location: Hottest place on the earth
Posts: 13
It is not working..Error 841 is thrown when I try to create a table with space in the name. My IDS version is 9.30.FC3X1.

Any pointers please..?

==============================
Sorry, it worked
It is DELIMIDENT not DELIMIDENTE

Last edited by riyac; 11-29-05 at 11:37.
Reply With Quote
  #5 (permalink)  
Old 11-30-05, 06:27
gurey gurey is offline
Registered User
 
Join Date: Aug 2003
Location: Argentina
Posts: 780
Hi,
I have tested it in 7.31 and in 9.4 and functions fine.
Please, define in environment "export DELIMIDENT=1", next run dbaccess .... create table "my table" ( .....);

Gustavo.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On