×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Database Conversion Program??

Database Conversion Program??

Database Conversion Program??

(OP)
Hi all!
First, I hope this is the correct forum for this question.

I have been honored with the privilege to create a database conversion program for a SQL Anywhere 5.0 db but there is a slight problem: I have no idea where to start.
Is it just a bunch of queries? or what?

Any suggestions would be greatly appreciated.
TIA,
g

RE: Database Conversion Program??

Conversion of that?

RE: Database Conversion Program??

"I have been honored with the privilege to create a database conversion program for a SQL Anywhere 5.0 db but there is a slight problem: I have no idea where to start"

Neither have we !
What will you be converting ?
You must gives some more clues - or, even better, all the facts.

Dickie Bird
db@dickiebird.freeserve.co.uk

RE: Database Conversion Program??

(OP)
i have to update a SQL Anywhere 5.0 db.
here what:
-add a new column to an existing table (table 1)
-insert values in that new column
-drop the index for that table (table 1) and re-create an index for table a.

not too big of a conversion. i am creating a powerbuilder app to do this. the user wants a app for this.

when i do this, do i have to create a new db for this or can i use the existing one and insert the info??

thanks for you help,\


RE: Database Conversion Program??

I should start with reading about SQL commands

SQL in a nutshell from O'Reilly, www.oreilly.com could be helpful.

Steven van Els
SAvanEls@cq-link.sr

RE: Database Conversion Program??

You can do all this on the existing DB
The basics are :

alter table [database.[owner].]table_name
 add column_name datatype
 
insert [into] [database.[owner.]]table_name
(column_name) values (expression...)

drop index table_name_idx
create index table_name_idx on table_name (column_name2, column_name2)

HTH

Dickie Bird
db@dickiebird.freeserve.co.uk

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close