If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Delphi, C etc > how i delete record from sqlserver database in delphi?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-09-08, 07:36
nowshadcv nowshadcv is offline
Registered User
 
Join Date: Sep 2008
Posts: 3
Red face how i delete record from sqlserver database in delphi?

Frineds plz help me.......i am doing database manipulation(insert,update,delete etc) in sqlserver.My front end is Delphi.I have a delete button in my form.My aim is to delete record from database.How i will do?If anyone knows the source code(try to write code using SQLOLEDB) plz give me .

Last edited by nowshadcv; 09-09-08 at 07:58.
Reply With Quote
  #2 (permalink)  
Old 10-09-08, 01:20
kalsig kalsig is offline
Registered User
 
Join Date: Mar 2007
Posts: 2
how i delete record from sqlserver database in delphi?

Try the following site from where you can download third party components in Delphi and use the data access components like database navigation buttons to move through records, add, edit or delete records of your SQL tables.

http://www.devart.com/sdac/download.html
Reply With Quote
  #3 (permalink)  
Old 10-10-08, 09:32
nowshadcv nowshadcv is offline
Registered User
 
Join Date: Sep 2008
Posts: 3
Thumbs down i want the source code

i am trying 2 solve this pblm using real delphi source code.
Reply With Quote
  #4 (permalink)  
Old 01-02-09, 13:51
jkuiper jkuiper is offline
Registered User
 
Join Date: Dec 2008
Posts: 8
If you use ADOQuery to SQLServer and you have an datalink on it, just use ADOQuery.delete to delete the record.
Otherwise create a SQL in your query-componment and use ExecSQL to execute your SQL
Reply With Quote
  #5 (permalink)  
Old 11-05-10, 05:26
HaroldMccarthy HaroldMccarthy is offline
Registered User
 
Join Date: Oct 2010
Posts: 1
Hello!

Quote:
Originally Posted by nowshadcv View Post
i am trying 2 solve this pblm using real delphi source code.
is there a way to backup what you delete?

Thanks
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On