how do i delete all the data which is stored in the sql table????
i want to delete only the data present in one table without dropping the table when i click on the command button in vb6 plz help :(:(:(:( its really urgent
Jump to Post
How you connect to database ?
If using ADO then try this
conn.begintrans 'conn-----adodb connection object conn.execute "delete from table_name" conn.committtrans
All 7 RepliesReply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.