In MySQL, the description below works:
mysql>insert into emp1(empno,empname,empsal,empcity) values (100,'vinay',10000,'USA');** mysql> select * from emp1; +-------+---------+--------+---------+ | empno | empname | empsal | empcity | +-------+---------+--------+---------+ | 100 | vinay | 10000 | USA | +-------+---------+--------+---------+
In Oracle, the description below works:
mysql> insert into emp1 values(&empno,'&empname',&empsal,'&empcity');**
But this does not work in MySQL - why not add & values?
database oracle mysql
Vinay guru
source share