L
Luis
Which of the following two examples is the faster/better way to do a
sql insert from an asp page?
SQLINSERT = "INSERT INTO test ( fname ) " _
& "VALUES (" _
& " '" & fname & "' " _
& ")"
or
SQLINSERT="INSERT INTO test (fname) "
SQLINSERT=SQLINSERT & "VALUES (
SQLINSERT=SQLINSERT & "'" & fname & "' & )"
Is the second method slower than the first?
(Yes, I know, a stored procedure would be even better...)
sql insert from an asp page?
SQLINSERT = "INSERT INTO test ( fname ) " _
& "VALUES (" _
& " '" & fname & "' " _
& ")"
or
SQLINSERT="INSERT INTO test (fname) "
SQLINSERT=SQLINSERT & "VALUES (
SQLINSERT=SQLINSERT & "'" & fname & "' & )"
Is the second method slower than the first?
(Yes, I know, a stored procedure would be even better...)