skip to main
|
skip to sidebar
Oracle Juggernath
Showing posts with label
swap yes to no and no to yes
.
Show all posts
Showing posts with label
swap yes to no and no to yes
.
Show all posts
Saturday, August 18, 2012
Swap YES,NO values in a table column with single update statement.....
update a set status=(case when status='YES' then 'NO'
when status='NO' then 'YES'
end)
Older Posts
Home
Subscribe to:
Posts (Atom)
About Me
Seshagiri Dama
I have been working as PL/SQL developer since 2005. I am passionate about oracle performance tuning. I am Oacle 10g DBA certified associate.
View my complete profile
Blog Archive
▼
2012
(19)
▼
September
(1)
Useful real time sql snippets
►
August
(4)
►
February
(14)
►
2011
(8)
►
September
(4)
►
August
(4)
►
2009
(6)
►
June
(3)
►
May
(3)