Hello :

Can you create a table in an Oracle data base using sentences in your .NET code?

I explain:

example: sqlSentence = "CREATE TABLE tableName (...)"
command.commandtext = sqlSentence;
command.ExecuteNonQuery();

If you can, how can you set auto_increment data types?

Thanks

Paula

Re: Oracle Tables by Roy

Roy
Wed Jul 07 06:19:34 CDT 2004

Paula,

yes, you can create tables using SQL DDL commands.

Oracle does not have an auto increment data type as found in SqlSever.
Instead, with Oracle you would use a trigger and a sequence to achieve the
same results.

regards
roy fine


"Paula" <baila_pau@hotmail.com> wrote in message
news:8f340d3b.0407061058.152592e9@posting.google.com...
> Hello :
>
> Can you create a table in an Oracle data base using sentences in your .NET
code?
>
> I explain:
>
> example: sqlSentence = "CREATE TABLE tableName (...)"
> command.commandtext = sqlSentence;
> command.ExecuteNonQuery();
>
> If you can, how can you set auto_increment data types?
>
> Thanks
>
> Paula