|
|
|
|
Re: sql_id of a sql not the same in different databases [message #624031 is a reply to message #624029] |
Wed, 17 September 2014 05:59 |
orausern
Messages: 826 Registered: December 2005
|
Senior Member |
|
|
Hi Mike,
I tried with another simple sql and see the same behavior...here it is:
variable v_user varchar2(16);
exec :v_user :='ABC';
select count(*) from all_users
where username=:v_user;
In dev. db it has this sql_id: 6sk5f7art67gc
In Prod. db is has this sql_id: 5m20vfx6j0f7p
Shouldn't it have remained the same? Note that the Oracle version is the same across dev. and prod.
Thanks.
|
|
|
|
|
|