`
oywl2008
  • 浏览: 1005547 次
  • 性别: Icon_minigender_1
  • 来自: 广州
社区版块
存档分类
最新评论

Excel generate SQL use

 
阅读更多

 

 

 

="INSERT INTO SFA_SYS_CODE(CD_CTRY_CODE,CD_TYPE,CD_CODE,CD_DESC,CD_BACKEND_IND,DATETIMESTAMP) VALUES('MYS','COUNTRY','"&B2&"','"&A2&"','N',current timestamp);"

 

=CONCATENATE(CONCATENATE("DELETE FROM SFA_SYS_CODE WHERE CD_CTRY_CODE = 'MYS' AND CD_TYPE = 'NEW_COUNTRY' AND CD_CODE = '", B1, "';
"), CONCATENATE("INSERT INTO SFA_SYS_CODE(CD_CTRY_CODE, CD_TYPE, CD_CODE, CD_DESC, CD_BACKEND_IND, DATETIMESTAMP) VALUES('MYS', 'NEW_COUNTRY', '", CONCATENATE(B1&"','"&A1), "', 'N', current timestamp);"))

 

=RIGHT(C2,4)

=E2&" "&F2

=IF(LEN(B2)=1,"occupation.000"&B2,IF(LEN(B2)=2,"occupation.00"&B2,IF(LEN(B2)=3,"occupation.0"&B2,IF(LEN(B2)=4,"occupation."&B2))))

 

分享到:
评论

相关推荐

    DbMouse Pro 5.6.3

    Generate SQL scripts from database objects. Query designer -Design SELECT, UPDATE, DELET and INSERT queries. Use data preview ofr analysing of query result. GPS Visualiser -Visualise points, ...

    poi最新3.1jar包和src

    With Cocoon you can serialize any XML datasource (which might be a ESQL page outputting in SQL for instance) by simply applying the stylesheet and designating the serializer. If you're merely ...

    Beginning JavaScript Charts - With jqPlot, d3, and Highcharts

    for those who love fast and effective solutions you can use the jqPlot library to generate charts with amazing effects and animations using only a few lines of code; if you want more power and need ...

    VB编程资源大全(英文源码 数据库)

    Generate SQL statement and ADO Code Connection without the use of an ADO Data Control. <END><br>15 , client.zip This application is about programming with Client Side Cursors. <END><br>16 , Access...

    EMS.Advanced.Data.Export.VCL.v4.9.0.1.Full.Source

    Added the possibility to generate a single INSERT statement. The MultipleInsert property. 3. TQExport4XML. Now the BLOB filed data is uploaded using base64 encoding. (For Delphi 2005/CBuilder 2006...

    ComponentOne Studio for WinForms 2013 v1

    Generate a grid with a million rows to a chart with unlimited points. Over 65 .NET Windows Forms controls, including the ones you can't get anywhere else. ComponentOne Studio® for WinForms ...

    ComponentOne Studio for WinForms 2013 v1 5/5

    Generate a grid with a million rows to a chart with unlimited points. Over 65 .NET Windows Forms controls, including the ones you can't get anywhere else. ComponentOne Studio® for WinForms ...

    ComponentOne Studio for WinForms 2013 v1 1/5

    Generate a grid with a million rows to a chart with unlimited points. Over 65 .NET Windows Forms controls, including the ones you can't get anywhere else. ComponentOne Studio® for WinForms ...

    ComponentOne Studio for WinForms 2013 v1 2/5

    Generate a grid with a million rows to a chart with unlimited points. Over 65 .NET Windows Forms controls, including the ones you can't get anywhere else. ComponentOne Studio® for WinForms ...

    ComponentOne Studio for WinForms 2013 v1 4/5

    Generate a grid with a million rows to a chart with unlimited points. Over 65 .NET Windows Forms controls, including the ones you can't get anywhere else. ComponentOne Studio® for WinForms ...

    Visual C++ 编程资源大全(英文源码 数据库)

    excel_odbc_demo.zip A discussion and demonstration of reading Excel files using ODBC (20KB)<END><br>30,SPCW.zip A tool to generate class files to implement stored procedures(354KB)<END><br>31,...

    DbfDotNet_version_1.0_Source

    Although most of us will use a SQL Server to store and retrieve data sets. There are several situation where an embedded database make sense. When you don't have a SQL Server available When you ...

    VB编程资源大全(英文源码 其它)

    <END><br>85,Shape.zip I have used SHAPE command instead of PARAMETERS to generate dynamic report.Open with VB6. <END><br>86,AlarmPrj.zip An Alarm Class project. <END><br>87,hyperlink.zip A ...

Global site tag (gtag.js) - Google Analytics