Question Locked

How to insert

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hi,
How to Insert values in to sql database using vb6 also how to use Select Command in vb6.

Thanks

3 replies

by asifali4u

dim sql as string
Sql = "INSERT INTO BDRDE " & _
"SELECT * FROM AttendanceDaily WHERE atten <> '" & "P'"
Cn.Execute Sql

This discussion is closed to new replies.