I had a table with 32 columns out of which one is a composite primary key and have 10 foriegn keys.
I am writing a simple query with where clause having a composite primary key.
But still I am getting cost of the query as 37.
Can you please suggest how can i optimize the cost of the query...
Hi All ,
I want to write a case statement in where clause such that if
Value is TAG1 then in where clause it will search for TAG2 and TAG3.
Value is TAG2 then in where clause it will search for TAG1 and TAG3.
Value is TAG3 then in where clause it will search for TAG2 and TAG1.
if...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.