G
Guest
Hi,
I'm trying to make index on a table with SQLCE, but I don't know how I can
do that in C#. For example, when I create a table in C# on PPC, I do the
following tasks :
---------------------------------------------------------------------------
cmndDB.CommandText =
" CREATE TABLE MOTIFS_ENL " +
" ( CODE nchar(2) not null " +
" CONSTRAINT PKMOTIFS_ENL PRIMARY KEY " +
" , LIBELLE nchar(50) not null " +
" )";
cmndDB.ExecuteNonQuery();
I'm trying to make index on a table with SQLCE, but I don't know how I can
do that in C#. For example, when I create a table in C# on PPC, I do the
following tasks :
---------------------------------------------------------------------------
cmndDB.CommandText =
" CREATE TABLE MOTIFS_ENL " +
" ( CODE nchar(2) not null " +
" CONSTRAINT PKMOTIFS_ENL PRIMARY KEY " +
" , LIBELLE nchar(50) not null " +
" )";
cmndDB.ExecuteNonQuery();