Re: renaming a table

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



or, rather than renaming tables, create an inbox table each time, RDA pull
to that,
if it succeeds, truncate all rows in your target rable, copy the inbox rows
to the target, and drop the inbox. if RDA pull fails, drop the inbox and
try again.
--
Darren Shaffer
..NET Compact Framework MVP
Principal Architect
Connected Innovation
www.connectedinnovation.com

"Rob C" <RobC@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:4FCF93DD-C131-4DB1-AE10-5D11EB199584@xxxxxxxxxxxxxxxx
>I am using RDA to download a table of staff records from a SQL Server Db to
> my SQL CE database. My problem is that you have to drop the existing
> table
> first. If I do that and the download fails for some reason, i have lost
> the
> table that was there. i could first check for a valid connection before
> dropping the CE table but there is still a chance it could fail for other
> reasons.
>
> i was thinking that i would rename the local CE table and then drop it if
> the download succeeded or name it back to its original name if the
> download
> fails.
>
> I wasn't sure of the best way to do this (couldn't find anything in ALTER
> TABLE).
>
> Also, I was curious how other people might have solved this problem.
>
> Thanks,
>
> -Rob
>


.



Relevant Pages

  • Re: renaming a table
    ... > if it succeeds, truncate all rows in your target rable, copy the inbox rows ... If I do that and the download fails for some reason, ...
    (microsoft.public.sqlserver.ce)
  • how to see email sizes for POP accounts in Inbox
    ... and have a POP3 account set up in Inbox as well as ... the standard ActiveSync email. ... connect to my POP account using bluetooth & a mobile phone & a GPRS ... & download headers (I've also got it set to download the first ...
    (microsoft.public.pocketpc)
  • size of emails in Ibox list
    ... and have a POP3 account set up in Inbox as well as ... connect to my POP account using bluetooth & a mobile phone & a GPRS ... & download headers (I've also got it set to download the first ...
    (microsoft.public.pocketpc)
  • Re: corrupted Inbox? Error 0x800C0133
    ... download mail on a regular basis. ... For your Inbox. ... Do not archive mail in default OE folders. ... download any e-mails to my inbox. ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • Re: Sync Mail Folders?
    ... Outlook starts to download all your POP3 e-mail as soon as you open it. ... The Pocket PC takes the e-mail in the Inbox in Outlook and synchronizes ... > Outlook deletes the mail on the second ISP INBOX on the PPC? ...
    (microsoft.public.pocketpc.activesync)