asp classic - ASP SQL Server query question -


i new asp. i've been coding php 10 years started asp.

here code:

set rs = createobject("adodb.recordset")  strstoredprocedure = "sp_addhporderitem'" & empident & "'"  rs.open strstoredprocedure,strconnect, adopenforwardonly, adlockoptimistic, adcmdtext 

i assuming variable rs("styledesc") coming query have found no reference rs, rs. not sure if variables case sensitive in asp.

my question is, strstoredprocedure function? because don't understand how query can made variable assigned way is.

how sp_addhporderitem'" & empident & "' constitute query? there no selects, inserts, updates, or that.

if expert point me in right direction if appreciated.

the first statement of sql batch can stored procedure name; if so, sql server execute if it's not prefixed exec. net effect if send sql server:

exec sp_addhporderitem 'empident' 

Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -