1. Verify special character exists in the database. In this example an apostrophe(') used in the word can't.Â
- Connect to the database, either MsSQL or MySQL
- Select sgmsdb
- Run the following command
mysql> select ID, NODE_NAME, firewallID from params;
+------------------------------------+------------------------------------------------+-------------------------+
| ID Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â | NODE_NAME Â Â Â Â Â Â Â Â Â Â Â Â Â Â | firewallID Â Â Â Â Â |
+----------------------------------------------+--------------------------------------+-------------------------+ Â Â
| UT147093225084C2B   | Firewall_80_2 can't be modified  | C0EAE400008C |
+------------------------------------+------------------------------------------------+-------------------------+
1 rows in set (0.00 sec)
<br/>
2. To change unit name for one single firewall use the following command:
<br/>
mysql> update params set NODE_NAME='Firewall_80_2 cannot be modified' where serial='C0EAE400008C';
Query OK, 1 row affected (0.00 sec)
Rows matched: 1 Â Changed: 1 Â Warnings: 0
<br/>
3. To change the unit name for multiple units, we can use the following command to update all node names:
mysql> update params set node_name = REPLACE (node_name, 'can't', 'cannot') where node_name like '%can't%';
Query OK, 1 rows affected (0.00 sec)
Rows matched: 0 Â Changed: 0 Â Warnings: 0
<br/>
4. Verify the update  has been taken place:
mysql> select ID, NODE_NAME, firewallID from params;
+------------------------------------+------------------------------------------------+-------------------------+
| ID Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â | NODE_NAME Â Â Â Â Â Â Â Â Â Â Â Â Â Â | firewallID Â Â Â Â Â |
+----------------------------------------------+--------------------------------------+-------------------------+ Â Â
| UT147093225084C2B   | Firewall_80_2 cannot be modified  | C0EAE400008C |
+------------------------------------+------------------------------------------------+-------------------------+
1 rows in set (0.00 sec)
<br/>
Now we should be able to modify or delete units as required.Â