P polina Registered User. Local time Today, 20:37 Joined Aug 21, 2002 Messages 100 Sep 16, 2002 #1 Hi i have a simple question i need a sql statement that will replace all '950' to '1' and all '957' to 2 in my Model column of the BlackBerry table. Please advise the code Thanks
Hi i have a simple question i need a sql statement that will replace all '950' to '1' and all '957' to 2 in my Model column of the BlackBerry table. Please advise the code Thanks
C cogent1 Registered User. Local time Today, 20:37 Joined May 20, 2002 Messages 315 Sep 16, 2002 #2 Excuse me asking, but why don't you just run an update query?
pdx_man Just trying to help Local time Today, 12:37 Joined Jan 23, 2001 Messages 1,347 Sep 17, 2002 #3 UPDATE BlackBerry SET BlackBerry.Model = IIf([Model]="950","1",IIf([Model]="957","2",[Model])); If Model is not a text field but rather a number, remove the " HTH
UPDATE BlackBerry SET BlackBerry.Model = IIf([Model]="950","1",IIf([Model]="957","2",[Model])); If Model is not a text field but rather a number, remove the " HTH