Click here to Skip to main content
16,020,714 members

Comments by Tarun Mittal Delhi (Top 20 by date)

Tarun Mittal Delhi 28-Sep-16 1:00am View    
i'm already following this structure.
Tarun Mittal Delhi 27-Sep-16 1:19am View    
thanks for your solution. But, value of all 44 columns also will be different for every ISBN. so, is there any method to write a short query to update all records using define a single column for all 44 columns...???? i hope, you get it what i want to do
Tarun Mittal Delhi 26-Sep-16 14:43pm View    
Hi,

I have a table which is related for price of the books. Details: In this table, 44 columns are defined for 44 "latin amrican countries" and primary column is "ISBN". "ISBN" is unique for every record/book. Now, i want to update the price for all 44 countries. In this case, i will have to write the query like this: (Update CountryPrice Set MX=84, GT=84, SV=84, HN=84, NI=84, CR=84, PA=84, CO=84, VE=84, PY=84, BO=84, EC=84, BR=84, CL=84, AR=84, UY=84, PE=84, DO=84, PR=84, TT=84, JM=84, GY=84, CU=84, HT=84, GP=84, MQ=84, BS=84, BB=84, LC=84, CW=84, AW=84, VC=84, GD=84, AG=84, DM=84, KY=84, KN=84, SX=84, TC=84, MF=84, VG=84, AI=84, BL=84, MS=84 Where ISBN='9789350903186')

Note: These columns are basically country codes.

I want to update more than 3000 records like this above example. Please help me that how can i write the query for all records in a short way. If i write manually then the time will be consumed too.

---
regards,
tarun mittal
Tarun Mittal Delhi 26-Sep-16 8:33am View    
yes...
Tarun Mittal Delhi 19-Sep-16 7:15am View    
No, i didn't upgrade my OS. I installed a new fresh windows 10 64 bit.