Article 3.6.1AG : Update query for changing one column data to other column
Please refer the attached document, If a reading is recorded in another column due to wrong config, we can use the query to migrate the data from one column to other
Use below query to copy one column to another column. Syntax: UPDATE Table_Name SET[COLUMN1]=(COLUMN2) WHERE '%CONNDITON%'; UPDATE [ELNetDB_ratan].[dbo].[PPS_Customer] SET[MeterVer]=(Area) WHERE MeterVer='0'; If above query is showing any error ...
If you want to delete all the rows in a table, use the below command. Click new query and type this command - truncate table "TableName". FYR - Kindly have a look at the attached image.
SELECT* FROM [Database_Name].[dbo].[Table_Name] WHERE Column_Name='XYZ' AND ScanTime BETWEEN '2016-11-01 00:00:01' AND '2016-11-30 23:59:59' UPDATE[Database_Name].[dbo].[Table_Name] SET[Column_Name2]='2' Column_Name='XYZ' AND ScanTime BETWEEN ...
For EN/PN above version 04.07, this updated software should be used to download the data. Click this link for software download page, http://www.elmeasure.com/resources/software