• Home

Random Thoughts

Entries RSS | Comments RSS
  • View Alex Arul Lurthu's profile on LinkedIn
  • Tags

    airtel anna univ architect artland bangalore bin campus chanakya corruption cue dell 2850 embroidery extract feed file store firefox foxy framework frustration guidelines imap iso kf log megarc msyql mysql oracle perc perl physical proxy raid relay log replication search sed speeding testimony thunderbird timestamp timezone tips update websphere
  • Archives

    • December 2008
    • September 2008
    • August 2008
    • May 2008
    • April 2008
    • March 2008
    • February 2008
    • July 2007
    • June 2006
    • May 2006
    • March 2006
    • February 2006
  • Category Cloud

    connected friends hardware monitoring mysql oracle personal random scripts yahoo
  • RSS Planet MySQL

    • Node failure handling - take 2
    • More on table_cache
    • Black Friday / Cyber Monday Deal – 50% off on all products! (valid only till 1st Dec 09, 23:59 PST)
    • Scaling - going from 2 to X data nodes
    • MySQL Cluster 7.0.9b in Configurator and Sandbox

Query to swap column values

Posted on May 4, 2006 by Alex

UPDATE table_name SET FIELD4 = (@tmp:=FIELD4), FIELD4 = FIELD1, FIELD1 =
@tmp;

Filed under: mysql | Tagged: update | Leave a Comment »

  •  

    November 2009
    M T W T F S S
    « Dec    
     1
    2345678
    9101112131415
    16171819202122
    23242526272829
    30  
  • Recent Comments

    jramirez on Thunderbird config to refresh …
    Josh on Skip duplicate entries in a…
    Tex on Maiden Bangalore Architects of…
    Finney on Me @ ma desk
    Yo Bangalore on Maiden Bangalore Architects of…
  • Blog Stats

    • 12,519 hits
  • Top Clicks

    • linkedin.com/in/alexlurth…
    • -
  • Flickr Photos

    my b'day

    my b'day

    my b'day

    More Photos

Blog at WordPress.com. Theme: Digg 3 Column by WP Designer