问题描述
亲爱的朋友们,
我需要帮助以Excel格式导入实时货币实时数据(启用宏)到SQL server数据库。
我在sql server数据库中导入数据,但是仅显示上次更新数据 ..所以我如何处理更新的数据... ?? (使用SSIS或任何其他)
如果有任何机构有例子或演示然后我请求你尽快发送给我...
如果您有任何想法,那么请在我的电子邮件中给我答复..
我的EmailId
谢谢,
NetalPrajapati。
已删除电子邮件。
[/编辑]
Dear Friends,
I Need help to import the Live Currency Live data in Excel format(Enable Macro) to SQL server databse.
I import the data in sql server database but its display only Last updates Data..so how i do in updated data to get...??(Using SSIS Or Any Other)
if any body have an example or demo then i request to u pls send me as soon as possible...
If u have any idea then pls send me ur answer in My emailId..
My EmailId Is
Thank You,
NetalPrajapati.
Email removed.
[/Edit]
推荐答案
001 Stars&StripesForever [email protected] yes 2005-05-02 11:59:00.001
002 AintNoWomanLiketheOneIGot [email protected] yes 2005-12-14 11:59:02.110
003 100101011100111100000011 [email protected] no 2013-02-07 07:77:59.077
In SQL2005 Studio Management应用程序,点击创建新查询按钮创建一个新的.sql查询
复制此代码:
In SQL2005 Studio Management application, create a new .sql "query" by clicking on "Create New Query" button
Copy this code:
USE [cpqaAnswer]
GO
CREATE SCHEMA [cpqa]
CREATE TABLE [cpqaAnswer].[cpqa].[tblExcelTdData](
[idx][int],
[title][nvarchar](128),
[email][nvarchar](256)
[status][nvarchar](16),
[time][datetime]
)
BULK INSERT [cpqaAnswer].[cpqa].[tblExcelTdDate] FROM ''C:\users\pn\datafile(td).txt''
将其粘贴到编辑器中,然后键入新的SELECT子句以查看表格数据:
Paste it in the editor, then type in a new SELECT clause to see the tabled data:
SELECT * FROM [cpqaAnswer].[cpqa].[tblExcelTdData]
这篇关于将excel中的实时数据导入sql server数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!