PC Review


Reply
Thread Tools Rate Thread

can't modify table in SQLCE Query

 
 
CafeCat
Guest
Posts: n/a
 
      26th Sep 2003
Anyone know how to modify table in SQLCE query?

it can add new or delete column, but can't modify a exist column. why?


 
Reply With Quote
 
 
 
 
CafeCat
Guest
Posts: n/a
 
      27th Sep 2003
I mean in the Sqlce Query program on PPC.

I know use sql can do it. But I just don't know why this offical database
tool don't provide this basic function.


"Alex Yakhnin [eMVP]" <(E-Mail Removed)> wrote in message
news:1ac201c38428$c0b261a0$(E-Mail Removed)...
> You should be able to use ALTER TABLE ddl statement.
> Check the "SQL Server CE Books Online" for exact sintax..
>
> --
> Alex Yakhnin, MVP
> IntelliProg, Inc.
> http://www.intelliprog.com
>
>
>
> >-----Original Message-----
> >Anyone know how to modify table in SQLCE query?
> >
> >it can add new or delete column, but can't modify a exist

> column. why?
> >
> >
> >.
> >



 
Reply With Quote
 
Alex Feinman [MVP]
Guest
Posts: n/a
 
      27th Sep 2003
Because unfortunately T-SQL syntax does not provide for column
modifications. The only way to modify a column is to copy the key and the
column data to the temporary table, drop the column, recreate it and
repopulate from the temporary table. I suppose the SQL CE Query dfevelopers
considered this to be too much for a small-footprint tool

"CafeCat" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> I mean in the Sqlce Query program on PPC.
>
> I know use sql can do it. But I just don't know why this offical database
> tool don't provide this basic function.
>
>
> "Alex Yakhnin [eMVP]" <(E-Mail Removed)> wrote in message
> news:1ac201c38428$c0b261a0$(E-Mail Removed)...
> > You should be able to use ALTER TABLE ddl statement.
> > Check the "SQL Server CE Books Online" for exact sintax..
> >
> > --
> > Alex Yakhnin, MVP
> > IntelliProg, Inc.
> > http://www.intelliprog.com
> >
> >
> >
> > >-----Original Message-----
> > >Anyone know how to modify table in SQLCE query?
> > >
> > >it can add new or delete column, but can't modify a exist

> > column. why?
> > >
> > >
> > >.
> > >

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
query then modify table from form Chris L Microsoft Access VBA Modules 8 27th May 2009 07:05 AM
query then modify table from form Chris L Microsoft Access VBA Modules 0 25th May 2009 03:51 AM
ODBC query to modify DBF table structure Patrice Microsoft ADO .NET 4 10th Dec 2005 11:01 PM
Why I can't modify data in Query, while in the Table can do Martin Microsoft Access 1 9th Nov 2005 04:14 AM
Dynamially modify Table Name in a query in VBA =?Utf-8?B?U3R1IEJyb3du?= Microsoft Access VBA Modules 3 3rd Aug 2004 09:12 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:59 AM.