I want to calculate running balance in SQL server but it is showing syntax error near \'=\' and \':=\' operator. Don\'t know how to add values. I am sharing my SQL query that I