由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Database版 - sybase 问题请教
相关主题
ETL tool or Shellscript&Sqlhow to extract large number of rows from sql server?
请问sql server里面怎么输出变量到文本文件?要面试SQL Server工作,请教高手
SSIS: execute SQL task failed on Insert statementsJob opportunity in Baltimore Area
SSIS DYNAMIC EXCEL输出的问题Help - Data Cleansing - Any Suggestion
best practices for sql developer老印给我的一个Challenge
诚恳请求帮忙--DBA trainingrandom error for CAST( MONEY AS VARCHAR)
大家绝不觉得干DB这行挺难进步的?Job Openings: Data Warehouse Architect/ETL/Business Objects (转载)
请教如何将teradata的数据导入oracle?请大家给我推荐一下SSIS的书
相关话题的讨论汇总
话题: sybase话题: rundate话题: staging话题: bcp话题: table
进入Database版参与讨论
1 (共1页)
s********1
发帖数: 3
1
我现在要load flat file 到sybase table
这个表比flat file多一个rundate 列
请问怎样在scripts里把这个rundate列也
加上 然后bcp到表里
还是我只能把其他列bcp,然后在表里再update
那个列?
thanks a lot for your suggestion.
j*****n
发帖数: 1781
2
bcp to a staging table that has a rundate column with default value as
GETDATE.
s********1
发帖数: 3
3
thanks for reply.
then how to cp from staging to final one?

【在 j*****n 的大作中提到】
: bcp to a staging table that has a rundate column with default value as
: GETDATE.

j*****n
发帖数: 1781
4
now you got all you want in stating table...
insert into destinationTable
Select * from stagingTable
when you do ETL, staging table is a good practice for doing data massages.

【在 s********1 的大作中提到】
: thanks for reply.
: then how to cp from staging to final one?

j*****n
发帖数: 1781
5
I haven't using sybase for years... so I can only give you the universal way
. I am sure there would a better way for using sybase ETL tool. such as in M
$ SQL Server, you could have a derived column to do so in SSIS without
sacrifice performance and storage space.
1 (共1页)
进入Database版参与讨论
相关主题
请大家给我推荐一下SSIS的书best practices for sql developer
Job Opening - SQL Developer诚恳请求帮忙--DBA training
15万收入怎么样大家绝不觉得干DB这行挺难进步的?
做DW的,如何估计/衡量一项任务的工作量?请教如何将teradata的数据导入oracle?
ETL tool or Shellscript&Sqlhow to extract large number of rows from sql server?
请问sql server里面怎么输出变量到文本文件?要面试SQL Server工作,请教高手
SSIS: execute SQL task failed on Insert statementsJob opportunity in Baltimore Area
SSIS DYNAMIC EXCEL输出的问题Help - Data Cleansing - Any Suggestion
相关话题的讨论汇总
话题: sybase话题: rundate话题: staging话题: bcp话题: table