Unix Technical Forum

disabling indexing and contraints on informix 5.04.uc1

This is a discussion on disabling indexing and contraints on informix 5.04.uc1 within the Informix forums, part of the Database Server Software category; --> Hi, Trying the following SQL syntax on Informix 5.04.UC1 (running on Sol8 x86) but it is not working echo ...


Go Back   Unix Technical Forum > Database Server Software > Informix

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-20-2008, 09:01 AM
spaz
 
Posts: n/a
Default disabling indexing and contraints on informix 5.04.uc1

Hi,

Trying the following SQL syntax on Informix 5.04.UC1 (running on Sol8
x86) but it is not working

echo "SET INDEXES, CONSTRAINTS FOR TABLENAME DISABLED" |dbaccess
DATABASE

But get an error:

201: A syntax error has occurred.
Error in line 1
Near character position 5

I have the exact same line working on Informix Online 7.31.UC2 and it
works 100%

Is the systax different for v5.04 or is there another way to disable
indexing and contraints for this version of Informix?

Any help appreciated.

Thanks.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-20-2008, 09:01 AM
Jonathan Leffler
 
Posts: n/a
Default Re: disabling indexing and contraints on informix 5.04.uc1

spaz wrote:
> Hi,
>
> Trying the following SQL syntax on Informix 5.04.UC1 (running on Sol8
> x86) but it is not working
>
> echo "SET INDEXES, CONSTRAINTS FOR TABLENAME DISABLED" |dbaccess
> DATABASE
>
> But get an error:
>
> 201: A syntax error has occurred.
> Error in line 1
> Near character position 5
>
> I have the exact same line working on Informix Online 7.31.UC2 and it
> works 100%


Read the 5.04 manual - it doesn't include that option; it was added
around version 7.10.

> Is the systax different for v5.04 or is there another way to disable
> indexing and contraints for this version of Informix?


Yes - the syNtax is different. No, there (almost certainly) isn't an
alternative way to disable constraints in 5.0x.

You can download the 5.20 manuals from

http://www.ibm.com/software/data/informix/library

follow the links to the online manuals.


--
Jonathan Leffler #include <disclaimer.h>
Email: jleffler@earthlink.net, jleffler@us.ibm.com
Guardian of DBD::Informix v2005.01 -- http://dbi.perl.org/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-20-2008, 09:01 AM
scottishpoet
 
Posts: n/a
Default Re: disabling indexing and contraints on informix 5.04.uc1

might also be in 5.20. can't remember

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 08:45 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com