update AccountHistory
set amount = amount * -1
where accounttype="Withdrawal";
More Related Contents:
- Export from SQL Server to Excel
- How to get cumulative sum
- How to check if a column exists in a SQL Server table
- How to get a float result by dividing two integer values using T-SQL?
- Get first day of week in SQL Server
- SQL Server query to find all permissions/access for all users in a database
- SQL Server add auto increment primary key to existing table
- How to delete large data of table in SQL without log?
- What is the maximum characters for the NVARCHAR(MAX)? [duplicate]
- How do I view the full content of a text or varchar(MAX) column in SQL Server 2008 Management Studio?
- Do while loop in SQL Server 2008
- Query times out when executed from web, but super-fast when executed from SSMS
- TSQL: How to convert local time to UTC? (SQL Server 2008)
- How to update primary key
- error when inserting into table having instead of trigger from entity data framework
- Case sensitive variables in SQL Server
- Transpose rows and columns with no aggregate
- SQL Server Configuration Manager cannot be found
- SQL Server recursive query
- How do I move a table into a schema in T-SQL
- nvarchar(max) vs NText
- How to display two digits after decimal point in SQL Server
- How to find the boundaries of groups of contiguous sequential numbers?
- In SQL Server, how can I find everywhere a column is referenced?
- What are row, page and table locks? And when they are acquired?
- Using Full-Text Search in SQL Server 2008 across multiple tables, columns
- Error converting data types when importing from Excel to SQL Server 2008
- CHECKSUM and CHECKSUM_AGG: What’s the algorithm?
- SQL Server 2008 Spatial: find a point in polygon
- Implementing one-to-zero-or-one relation in SQL Server