Calendar of Posts

September 2010
M T W T F S S
« Aug    
 12345
6789101112
13141516171819
20212223242526
27282930  

Contributors

Paul Mayhew dbmsguy.com

Ads by Google :)

using excel to write sql

Excel is a wonderful tool that can be used to write sql using substitution from cells to cusomize and update or insert. 

One problem has always been dates… they never come out right

One solution to that is to use the TEXT format command to format it to DB2 formatted date…

use =TEXT(cell ref,”yyyy-mm-dd”) in excel to format as a date that can be used in a formula when you generate sql

sql-build-sample

You must be logged in to post a comment.