|
-
Feb 17th, 2012, 09:12 AM
#1
Thread Starter
New Member
sql 2008 and VB 2010
Hi,
I am using the following select statement to inject data into my table
"INSERT INTO TblVersion([ComputerName],[Version],[Date]) VALUES ('" & compname & "','" & myversion & "','" & mytime & "' )"
This works fine.
I need some advice:
If the computer name is already in the 'computerName' field I just want to update the 'myversion' and 'mytime' fields, rather than have another entry for the same computer.
how do i perform this check?
Thabks in advance

VB2010 and SQL 2008
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|