Skip to main content
Code Review

Return to Answer

Commonmark migration
Source Link

I think your stored procedure looks great!

The only line that had me scratching my head is this one:

Execute ('UPDATE [TblActionsOldest] SET ' + @vFieldName + ' = ''' + @vValue + ''' WHERE RefID = ''' + @AlphaNumbericalRef+ '''')

I'm guessing those apostrophes are escape characters for but if that's not the case I would discard them.

#Nice work!#

Nice work!

I think your stored procedure looks great!

The only line that had me scratching my head is this one:

Execute ('UPDATE [TblActionsOldest] SET ' + @vFieldName + ' = ''' + @vValue + ''' WHERE RefID = ''' + @AlphaNumbericalRef+ '''')

I'm guessing those apostrophes are escape characters for but if that's not the case I would discard them.

#Nice work!#

I think your stored procedure looks great!

The only line that had me scratching my head is this one:

Execute ('UPDATE [TblActionsOldest] SET ' + @vFieldName + ' = ''' + @vValue + ''' WHERE RefID = ''' + @AlphaNumbericalRef+ '''')

I'm guessing those apostrophes are escape characters for but if that's not the case I would discard them.

Nice work!

Source Link
Phrancis
  • 20.5k
  • 6
  • 69
  • 155

I think your stored procedure looks great!

The only line that had me scratching my head is this one:

Execute ('UPDATE [TblActionsOldest] SET ' + @vFieldName + ' = ''' + @vValue + ''' WHERE RefID = ''' + @AlphaNumbericalRef+ '''')

I'm guessing those apostrophes are escape characters for but if that's not the case I would discard them.

#Nice work!#

lang-sql

AltStyle によって変換されたページ (->オリジナル) /