0

I am currently creating a system within visual studio connecting to SQL database Management System. I am trying to write an if statement which takes the value that is in the specific column and if its equal to 'y' then I follow with an update statement.

I'm having trouble with the line within the brackets, the rest I am able to do.

if( cmnpayment = "Y")
{
  //UPDATE STATEMENT
}
Sebi
  • 3,879
  • 2
  • 35
  • 62

0 Answers0