I am creating a stored procedure that will take in one parameter: @CommonImportID
This ID will be the PK of the CommonImport table. I need to use the row that this PK corresponds to, to assign each value in each column to its own variable, i.e. @uploadedBy = (value in uploadedBy column) etc etc. How would I write this statement
If you need any more info just ask.
Thanks.
If understood your question correctly, something like this…