Hi Saurabh,
background for this non_working syntax when working with Spectrum mysql database tables is the different layout for both. The "ddmdb" and the "reporting" databases are not with same declaration. You may use the "explain" function at native mysql-level to see the layout.
Like - when logged in to the mysql service - run it for the ddmdb and the reporting - sample here:
mysql> explain ddmdb.event;
+----------------+----------------------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+----------------+----------------------+------+-----+---------+-------+
| model_h | int(10) unsigned | NO | PRI | NULL | |
| utime | int(11) | NO | PRI | NULL | |
| counter | int(10) unsigned | NO | PRI | NULL | |
| clk_seq | smallint(5) unsigned | NO | PRI | NULL | |
| version | tinyint(4) | NO | PRI | NULL | |
| node_id | char(6) | NO | PRI | NULL | |
| user_key | int(10) unsigned | NO | | NULL | |
| type | int(10) unsigned | NO | MUL | NULL | |
| severity | int(10) unsigned | NO | | NULL | |
| vardata_string | text | YES | | NULL | |
+----------------+----------------------+------+-----+---------+-------+
Cheers, Joerg