PC Review


Reply
Thread Tools Rate Thread

Delete record in sqlce

 
 
=?Utf-8?B?d3lnaGY=?=
Guest
Posts: n/a
 
      21st May 2005
Any one know how to delete the first or the second record using SQL statement.


Thx,
wyghf
 
Reply With Quote
 
 
 
 
Earl
Guest
Posts: n/a
 
      21st May 2005
"First or second" based on what criteria?? Pass in whatever criteria you
want and execute the delete.

DELETE FROM Job WHERE ID = YourSelectedID

"wyghf" <(E-Mail Removed)> wrote in message
news:947A1C7B-771F-4F8C-A75C-(E-Mail Removed)...
> Any one know how to delete the first or the second record using SQL
> statement.
>
>
> Thx,
> wyghf



 
Reply With Quote
 
=?Utf-8?B?d3lnaGY=?=
Guest
Posts: n/a
 
      22nd May 2005
I have A and B table in sqlce database,A is master,B is detail.
The customer require when the record count in A is greater than 20,we must
delete
the first record and append new record,just like a queue.How to achieve it?


Thx,
wyghf

"Earl" wrote:

> "First or second" based on what criteria?? Pass in whatever criteria you
> want and execute the delete.
>
> DELETE FROM Job WHERE ID = YourSelectedID
>
> "wyghf" <(E-Mail Removed)> wrote in message
> news:947A1C7B-771F-4F8C-A75C-(E-Mail Removed)...
> > Any one know how to delete the first or the second record using SQL
> > statement.
> >
> >
> > Thx,
> > wyghf

>
>
>

 
Reply With Quote
 
=?Utf-8?B?d3lnaGY=?=
Guest
Posts: n/a
 
      22nd May 2005
Thanks.I've solved this problem

"Earl" wrote:

> "First or second" based on what criteria?? Pass in whatever criteria you
> want and execute the delete.
>
> DELETE FROM Job WHERE ID = YourSelectedID
>
> "wyghf" <(E-Mail Removed)> wrote in message
> news:947A1C7B-771F-4F8C-A75C-(E-Mail Removed)...
> > Any one know how to delete the first or the second record using SQL
> > statement.
> >
> >
> > Thx,
> > wyghf

>
>
>

 
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
Fastest way to check if a record exists in SQLCE using ADO.NET =?Utf-8?B?U2ltb24gSGFydA==?= Microsoft Dot NET Compact Framework 0 2nd Nov 2005 02:09 PM
SqlCe Insert Record Performance =?Utf-8?B?d3lnaGY=?= Microsoft Dot NET Compact Framework 16 20th May 2005 07:27 PM
Adding a New record to SQLCE Jeff Microsoft Dot NET Compact Framework 1 27th Feb 2004 10:16 PM
SqlCE Deletion of record from DataSet Chris Voon Microsoft Dot NET Compact Framework 3 17th Dec 2003 01:42 AM
insert sqlce record with rapi ? efrat Microsoft Dot NET Compact Framework 1 10th Aug 2003 06:34 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:17 AM.