Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » DBISAM Technical Support » Support Forums » DBISAM SQL » View Thread |
Messages 1 to 5 of 5 total |
if exists in alter table allowed in Dbisam2? |
Tue, Dec 16 2014 7:57 AM | Permanent Link |
HeiNi | Hello
Is [IF EXISTS] allowed in ALTER TABLE in DBISAM2 If not what is the easiest way to substitute ist? Thanks for helping |
Tue, Dec 16 2014 8:10 AM | Permanent Link |
Roy Lambert NLH Associates Team Elevate | HeiNi
>Is [IF EXISTS] allowed in ALTER TABLE in DBISAM2 >If not what is the easiest way to substitute ist? I can't remember that far back, maybe someone else can but why not simply try it in DBSys. If it isn't supported then with DBISAM's SQL I don't think you can do much (hopefully someone will prove me wrong). What exactly you can do will depend on what you're trying to do with it. One option, if you're wanting to use it to alter column definitions in an existing implementation would be to add code in the application to compare existing structure with desired struction and create the SQL for it on the fly, or just use table methods. Roy Lambert |
Tue, Dec 16 2014 9:55 AM | Permanent Link |
HeiNi | Hello Roy,
an error rises up. Yes it is to to alter column definitions in an existing table. Roy Lambert wrote: HeiNi >Is [IF EXISTS] allowed in ALTER TABLE in DBISAM2 >If not what is the easiest way to substitute ist? I can't remember that far back, maybe someone else can but why not simply try it in DBSys. If it isn't supported then with DBISAM's SQL I don't think you can do much (hopefully someone will prove me wrong). What exactly you can do will depend on what you're trying to do with it. One option, if you're wanting to use it to alter column definitions in an existing implementation would be to add code in the application to compare existing structure with desired struction and create the SQL for it on the fly, or just use table methods. Roy Lambert |
Tue, Dec 16 2014 10:18 AM | Permanent Link |
Roy Lambert NLH Associates Team Elevate | HeiNi
In that case you need to write your own code unless you're lucky enough that someone has already done it and loaded it into the binaries. I seem to remember something in there. There was also a third party tool I think from www.contextsoft.com, but you'll have to have a hunt round. Roy Lambert |
Tue, Dec 16 2014 10:35 AM | Permanent Link |
HeiNi | Thanks.
|
This web page was last updated on Monday, May 6, 2024 at 03:23 PM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |