Scheduling SSIS Data Load Package

Feb 14, 2008

I have created a package that loads data . I need advice on a quik way to schedule this baby .

Regards to ALL

View 1 Replies


ADVERTISEMENT

Transact SQL :: How To Load Data From Excel To Database Without Using SSIS Package

May 26, 2015

I have 5 tables in Academy database. Like

Academy details tables, Academy Students table, Academy Student Parents table, Academy class Section Table, Academy Staff table.

I have created the tables and data into the database. And Now I need to prepare a Excel sheet to upload data into the these tables. How to prepare the Xlsx sheet and how to upload into database without using SSIS package.

View 15 Replies View Related

Load A SSIS Package Via Web Service: The Package Failed To Load Due To Error 0xC0011008 Error Loading From XML.WHAT IS THAT?

May 19, 2006

Hello,

I have a big problem and i'm not able to find any hint on the Network.

I have a window2000 pc, VS2005,II5 and SQLServer 2005(dev edition)

I created an SSIS Package (query to DB and the result is loaded into an Excel file) that works fine.

I imported the dtsx file inside my "Stored Packages".

I would like to load and run the package programmatically on a Remote Scenario using the web services.

I created a solution with web service and web page that invoke the web service.

When my code execute:
Microsoft.SqlServer.Dts.Runtime.Application.LoadFromDtsServer(packagePath, ".", Nothing)

I got the Error:
Microsoft.SqlServer.Dts.Runtime.DtsRuntimeException: The package failed to load due to error 0xC0011008 "Error loading from XML. No further detailed error information can be specified for this problem because no Events object was passed where detailed error information can be stored.". This occurs when CPackage::LoadFromXML fails.

The error message doesn't help so much and there is nothing on the www to give me and advice....

Is it a SSIS problem???

Thank you for any help!!

Marina B.



View 10 Replies View Related

Using SSIS Package To Dynamically Load Data From Database Into Three Separate Flat File

Jul 24, 2015

I have three tables in data base:

customer
product
sales

And i want to use SSIS package dynamically load data from database into three separate flat file, each table into each file.

I know i got to use for each loop task ADO.Net schema row set enumerator, with OLEDB connection manager, select table name or view name variable from access mode list, but the problem comes, as table name is dynamic then flat file connection is also dynamic, i am using visual studio 2013...

View 5 Replies View Related

Integration Services :: Running SSIS Package To Load Data - Communication Link Failure

Aug 20, 2015

I am looking for solution for "Communication link failure"  since many months in google but no luck, am running an SSIS package to load data. job failing many times with error 'Communication link failure', searched every where but found nothing.

Below is the complete error description when job failed.

OS - Windows server 2008 R2 Enterprise Edition
RAM - 198GB
 SQL server 2008 R2 Enterprise Edition and error description is below,

Started:  6:22:40 AM  Error: 2015-08-19 18:50:32.70     Code: 0xC0202009     
Source: Data Flow Task Lookup [193]     
Description: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. 
Error code: 0x80004005.  An OLE DB record is available.  

[Code] ....

View 5 Replies View Related

SSIS Package Scheduling

Apr 3, 2008

Hi,

I have created the package in a local machine and would like to schedule the package without integration services.

Is there any workaround for the above scenario.

Thanks in advance

Regards
Ramesh.R

View 4 Replies View Related

Scheduling SSIS Package In SQL JOB

May 12, 2008

Hi All

I'm new in SSIS Development. I have manage to design and deploy my Package to production SQL(MSDB) Security rely on server storage.

The problem start when I start scheduling in SQL JOB I'm getting the following error.


Executed as user: UCC-SQLSYSTEM. ...ion 9.00.3042.00 for 64-bit Copyright (C) Microsoft Corp 1984-2005. All rights reserved. Started: 8:57:01 AM Error: 2008-05-12 08:57:02.08 Code: 0xC0202009 Source: Test_deployment_Table Connection manager "BLAKE-DBN12.Staging" Description: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80040E4D. An OLE DB record is available. Source: "Microsoft SQL Native Client" Hresult: 0x80040E4D Description: "Communication link failure". An OLE DB record is available. Source: "Microsoft SQL Native Client" Hresult: 0x80040E4D Description: "TCP Provider: An existing connection was forcibly closed by the remote host. ". An OLE DB record is available. Source: "Microsoft SQL Native Client" Hresult: 0x80040E4D Description: "Login failed for user 'BLAKEUCC-SQL$'.". End Error Error: 2008-05-12 08:57:02.08 Code: 0xC020801C Source: Data Flow Task Test_Deployment [97] ... The package execution fa... The step failed.

What can I do to avoid this.

View 2 Replies View Related

Scheduling SSIS Package

Jan 15, 2008

Hi All

I have created a SSIS Package to complete various tasks and I have managed to deploy it on SQL, however I can't find it in the Management Studio. I just want to be able to schedule this package to run as a job.

Any Ideas?

View 2 Replies View Related

Scheduling SSIS Package

Feb 13, 2006

Hi ,

How do I schedule SSIS package.

View 6 Replies View Related

Scheduling SSIS Package

Dec 27, 2005

Hi

I am trying to scheduling package using "Executing Sql Server Agent Task" before that I create new job,But there is error in STEP "Command Line Parameter are Invalid"

Anybody help me for configure jobs for Scheduling

I am new to SQL Server

Thanks in Advance

  

View 5 Replies View Related

Scheduling The SSIS Package

May 30, 2006

Hi,

I want to schedule an SSIS package to run always. So I tried scheduling the SSIS Package as a Job in the SQL Server Agent and I have set the Schedule Type as "Start automatically when SQL Server Agent Starts".

I have used an WMI Event Watcher task to raise an event when the file dropped in a folder.

And I have provided the configuration file also properly in the job. But still my package is not running properly. The application is running, but it is not raising any events even when the files are dropped in that folder.

Pls anyone of you provide some solution for this.

Thanks & Regards,

Prakash Srinivasan

View 16 Replies View Related

SSIS Package Scheduling

Feb 8, 2008

Hi
I have a strange scheduling problem.
I have a job, i test it through BIDS - Works
I test it through SSMS - works
I run the job - Works
I schedule for a run time job - Works
I schedule for a recurring job - Works

However (here is the really annoying part) it fails to run at the night run (11.20PM)
there are 6 other packages that run fine after it , 11.30 , 1AM .. 4 AM etc ...

So
last night I changed the package to run at a later time, and it worked, but the other package that
ran 2nd (which now ran 1st) failed !!

its almost as if the 1st package has to fail !!!!!
When i look at the history and detailed log all it says is "The step Failed"

anyway , I can set up a workaround by starting a dummy job that is supposed to fail..

FYI the jobs are run under administrator and they are protected by a password (encryptSensitiveWithpassword) .

View 6 Replies View Related

XML Problem When Scheduling SSIS Package

Feb 19, 2007

I am getting an error when I try to schedule a package. I can run the package with no problems from BIDS. For some reason it is throwing an error when I try to schedule the package using SQL Server Agent. Information on how to resove this would be greatly appreciated.

Executed as user: MACHINESYSTEM. ...n 9.00.1399.06 for 32-bit Copyright (C) Microsoft Corp 1984-2005. All rights reserved. Started: 5:41:55 PM Error: 2007-02-19 17:41:56.01 Code: 0xC0011007 Source: {48427B5A-10F6-4054-B7EB-F0F19B90F334} Description: Unable to load the package as XML because of package does not have a valid XML format. A specific XML parser error will be posted. End Error Error: 2007-02-19 17:41:56.01 Code: 0xC0011002 Source: {48427B5A-10F6-4054-B7EB-F0F19B90F334} Description: Failed to open package file "C:Documents and Settingsfirst.lastMy DocumentsVisual Studio 2005ProjectsPackage 1.dtsx" due to error 0x800C0006 "The system cannot locate the object specified.". This happens when loading a package and the file cannot be opened or loaded correctly into the XML document. This can be the result of either providing an incorrect file name was specified when calling LoadPackage or the X... Process Exit Code 4. The step failed.

View 11 Replies View Related

Scheduling SSIS Package In Sql Server

Apr 3, 2008

Hi,

I have created the package in ssis and i want to schedule it local machine without using integration services. Any workaround for scheduling the Package?.

Specify me the steps to configure the package.

Thanks

Regards
Ramesh.R

View 5 Replies View Related

Error While Scheduling The SSIS Package

Jul 4, 2007

Hello Everyone,
When i try to scedule a job on SQL Server Management Studio it gives the Following Error:

Unable to cast object of type 'Microsoft.SqlServer.Management.Smo.SimpleObjectKey' to type 'Microsoft.SqlServer.Management.Smo.Agent.JobObjectkey'.(Micorsoft.SqlServer.Smo)

Can anyone tell me why ?

MS SQL Server Details:

Microsoft SQL Server 2005 - 9.00.1399.06 (Intel X86) Oct 14 2005 00:33:37 Copyright (c) 1988-2005 Microsoft Corporation Developer Edition on Windows NT 5.1 (Build 2600: Service Pack 2)

View 18 Replies View Related

Scheduling The SSIS Package To Run After Every 2 Mins

Dec 12, 2006

How can i plan the execution of a package ?

For example, i want to execute the package every 2 minutes for all the time.

I do not want to use SQL Server Agent to do this. I want the package to self contained to do it.

Thanks
Rohit

View 4 Replies View Related

Error In Scheduling SSIS Package

Jun 15, 2006

Hi,

When I am trying to schedule the SSIS package and start the job, I am getting the following error. It is not executing properly.

"The job failed. The Job was invoked by User prakash.srinivasan. The last step to run was step 1 (TestSchStep1)."

Pls provide some solution to this.

Thanks in advance.

Regards,
Prakash Srinivasan.

View 11 Replies View Related

Scheduling An SSIS Package That Invokes A Web Service

Apr 30, 2007

Hey,

I have an SSIS package that invokes a web service and then updates a table. It runs fine as long as I am running it on the local machine. However, as soon as I save this package to the sql server, and try to schedule this as a job, it starts to fail. Now, the web service writes to an xml file and also uses an xsd and and an xsl file. When I save a dts package to the sql server, whats the proper way of referencing these files? I think this probably is what is making the package to fail, ut I am not sure.

Any help is greatly appreciated!!

Thanks!

View 11 Replies View Related

Scheduling A SSIS Package Using SQL Agent (passing Credentials)

Aug 30, 2007



Hi:

I created a fairly simple SSIS package to move data from a remote server which uses SQL Server Authentication to a local server that uses Windows Authentication. Everything works fine when executing the package within BI studio and if I execute the package by connecting to SSIS. If I schedule it as a SQL Server Agent Job, however, the non-integrated security fails unless I manually edit the connection to include the password. Obviously this is insecure because it is in plain text. What can I do?

Thanks.

View 4 Replies View Related

Scheduling SSIS Package From SQL Server Agent Job Fails.

Feb 21, 2008



HI,

I am having a strange error coming in SQL server 2005.

I had a DTS package developed in SQl server 2000. Then i had migrated that DTS package to SSIS package using Execute DTS 2000 package. The conversion is successfull.

Then when i manullt execute this package it runs successfully without giving any error.
But then wheh i schedule a SQL server agent job for the same above SSIS package it fails giving me some cryptographic error as follows:

Message
Executed as user: CATOS-CGDBTUW02SYSTEM. ....3042.00 for 32-bit Copyright (C) Microsoft Corp 1984-2005. All rights reserved. Started: 11:00:00 PM Error: 2008-02-20 23:00:00.66 Code: 0xC0016016 Source: Description: Failed to decrypt protected XML node "PackagePassword" with error 0x8009000B "Key not valid for use in specified state.". You may not be authorized to access this information. This error occurs when there is a cryptographic error. Verify that the correct key is available. End Error Error: 2008-02-20 23:00:00.66 Code: 0xC0016016 Source: Description: Failed to decrypt protected XML node "SQLPassword" with error 0x8009000B "Key not valid for use in specified state.". You may not be authorized to access this information. This error occurs when there is a cryptographic error. Verify that the correct key is available. End Error Error: 2008-02-20 23:00:01.00 Code: 0x00000000 Source: Execute DTS 2000 Package T... The package execution fa... The step failed.

Not sure why is this happening.

Manually running the SSIS package from Visual studio does not gives error, but the same SSIS package when is been schedule from SQL server 2005's SQL server agent job it fails giving above error.

Please help me out how to rectify whith this.

Thanks.. in advance

Regards,
Ashok

View 3 Replies View Related

[scheduling] SSIS Package Fails, But Scheduler Reports Success

Apr 10, 2007

I have an SSIS Package that executes a stored procedure. It turns out my stored procedure was missing.

However, the SQL Job Scheduler reported that step as success.

Can anyone tell me why?

`Le

View 8 Replies View Related

Can't Load SSIS Dtsx Package

Apr 4, 2007

hi there,

when i start SQL Server business intelligence developer and create new Integration Service project, i will see following error:



Error loading 'Package.dtsx' : Object reference not set to an instance of an object.. C:SairiMy DocumentsVisual Studio 2005ProjectsIntegration Services Project12Integration Services Project12Package.dtsx



this error occures just on my PC and i reinstalled VS2005 and SQL2005 again and unfotunately the problem existes.


please someone helps me (just don't tell me to format my PC!!!)



tnx

View 10 Replies View Related

SQL Server 2008 :: How To Load SSIS Package For Any Specific Date

May 18, 2015

I have a ssis package which runs daily. This ssis package has couple of execute sql tasks which load data for yesterday's transaction. Ex.

INSERT INTO Shipped (Div_Code, shipment_value, ship_l_id, shipped_qty, shipped_date, whse_code,

ord_id, ship_id, ship_l_ord_l_id, Created_date) select ord.DIV_CODE as div_code, ship.SHIPMENT_VALUE as shipment_value, ship_l.SHIP_L_ID as ship_l_id, ship_l.SHIPPED_QTY as shipped_qty, ship.SHIPPED_DATE as shipped_date, ship.WHSE_CODE as whse_code, ord.ORD_ID as ord_id, ship.SHIP_ID as ship_id, ship_l.ord_l_id as ship_l_ord_l_id, Getdate() as Created_date from SHIP ship, ORD ord, SHIP_L ship_l where ship.SHIPPED_DATE=(dateadd(day, -1, CONVERT(VARCHAR(10),GETDATE(),120))) and ship.WHSE_CODE='WPP' and ord.ORD_ID=ship.ORD_ID and ship.SHIP_ID=ship_l.SHIP_ID

All execute sql task has query like above query. and in some query we have date filter which loads data for yesterday. Ex. one query has ship.SHIPPED_DATE=(dateadd(day, -1, CONVERT(VARCHAR(10),GETDATE(),120))). some other query has ord.trans_date=(dateadd(day, -1, CONVERT(VARCHAR(10),GETDATE(),120))). this package runs daily through sql server job, so It loads data for yesterday. Now If i want to run for any particular date, How could we achieve from ssis?

View 3 Replies View Related

SSIS Package Failing During Bulk Load - Without Useful Error Code

May 4, 2007

I have a dataflow step (flat file -> Sql Server Destination), with a batch size of 2500 records. It fails consistently around 3.6 million records in, with only this error -





[SQL Server Destination [4076]] Error: Unable to prepare the SSIS bulk insert for data insertion.
[DTS.Pipeline] Error: SSIS Error Code DTS_E_PROCESSINPUTFAILED. The ProcessInput method on component "SQL Server Destination" (4076) failed with error code 0xC0202071. The identified component returned an error from the ProcessInput method. The error is specific to the component, but the error is fatal and will cause the Data Flow task to stop running. There may be error messages posted before this with more information about the failure.
[DTS.Pipeline] Error: SSIS Error Code DTS_E_THREADFAILED. Thread "WorkThread0" has exited with error code 0xC0202071. There may be error messages posted before this with more information on why the thread has exited.
[Flat File Source [1]] Error: The attempt to add a row to the Data Flow task buffer failed with error code 0xC0047020.
[DTS.Pipeline] Error: SSIS Error Code DTS_E_THREADCANCELLED. Thread "WorkThread1" received a shutdown signal and is terminating. The user requested a shutdown, or an error in another thread is causing the pipeline to shutdown. There may be error messages posted before this with more information on why the thread was cancelled.
[DTS.Pipeline] Error: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED. The PrimeOutput method on component "Flat File Source" (1) returned error code 0xC02020C4. The component returned a failure code when the pipeline engine called PrimeOutput(). The meaning of the failure code is defined by the component, but the error is fatal and the pipeline stopped executing. There may be error messages posted before this with more information about the failure.
[DTS.Pipeline] Error: SSIS Error Code DTS_E_THREADFAILED. Thread "WorkThread1" has exited with error code 0xC0047039. There may be error messages posted before this with more information on why the thread has exited.

[DTS.Pipeline] Error: SSIS Error Code DTS_E_THREADFAILED. Thread "SourceThread0" has exited with error code 0xC0047038. There may be error messages posted before this with more information on why the thread has exited.





How can I debug this further to see what's going wrong?

View 1 Replies View Related

SSIS Package Fails To Load With Error Loading Value &&<DTS:PropertyExpression ...

Jul 17, 2007

Good day all,



I am having an interesting SSIS problem where the package fails to load with the following error message:

Code: 0xC0010018
Source: {BE86A659-AB44-403A-9C89-3524821879E0}
Description: Error loading value "" DTS:Name="SqlStatementSource">"Select dbo.fnGetLastOpenExtract('" + @[User::in_ExtractName] + "') as eh_ID"" from node "DTS: PropertyExpression".


This very same package runs on our test server, but fails to even load on UAT server.

SSIS packages are the same on both Test and UAT servers (I compared not just dates and sizes - they are literally the same: byte-to-byte)
DTExec version is 9.00.3042.00 on both servers.
HKLMSOFTWAREMicrosoftMicrosoft SQL Server90DTSSetupVersion = 9.2.3042.00 on both machines.

This started to happen when the UAT machine was upgraded to Service Pack 2 of SQL Server 2005. Please note that the UAT server only runs SSIS packages and does not have SQL 2005 database engine installed. There is, however, an older installation of SQL Server 2000 on UAT machine (I am not sure if Test machine has it - will check tomorrow).



Any help is greatly appreciated.



Thanks,

Alex



Here is the compete output from DTExec:




Code Snippet

D:AM5Jobs>"C:Program FilesMicrosoft SQL Server90DTSBinnDTExec.exe" /File "D:ExtractsGBG_ExtractSSISImport_ExtractStartComplete_03.dtsx" /Checkp OFF /Cons MT /Set Package.Variables[User::in_ExtractName].Properties[Value];SagittaMapping_Replication /Set Package.Variables[User::in_StartComplete].Properties[Value];Start
Microsoft (R) SQL Server Execute Package Utility
Version 9.00.3042.00 for 32-bit
Copyright (C) Microsoft Corp 1984-2005. All rights reserved.

Started: 12:33:21 PM
Error: 2007-07-17 12:34:52.98
Code: 0xC0010018
Source: {BE86A659-AB44-403A-9C89-3524821879E0}
Description: Error loading value "<DTS:PropertyExpression xmlns:DTS="www.microsoft.com/SqlServer/Dts" DTS:Name="SqlStatementSource">"Select dbo.fnGetLastOpenExtract('" + @[User::in_ExtractName] + "') as eh_ID"</DTS:PropertyExpression>" from node "DTS:PropertyExpression".
End Error
Error: 2007-07-17 12:34:52.98
Code: 0xC0010018
Source: {BE86A659-AB44-403A-9C89-3524821879E0}
Description: Error loading a task. The contact information for the task is "Execute SQL Task; Microsoft Corporation; Microsoft SQL Server v9; ? 2004 Microsoft Corporation; All Rights Reserved;http://www.microsoft.com/sql/support/default.asp;1". This happens when loading a task fails.
End Error
Error: 2007-07-17 12:34:52.98
Code: 0xC0010021
Source:
Description: Element "{1c66489c-2a3f-4c8a-b9e7-0161875427a2}" does not exist in collection "Executables".
End Error
Error: 2007-07-17 12:34:52.98
Code: 0xC0010018
Source:
Description: Error loading value "<DTS:Executable xmlns:DTS="www.microsoft.com/SqlServer/Dts" IDREF="{1c66489c-2a3f-4c8a-b9e7-0161875427a2}" DTS:IsFrom="-1"/>" from node "DTS:Executable".
End Error
Error: 2007-07-17 12:34:52.98
Code: 0xC0010018
Source:
Description: Error loading value "<DTS:PrecedenceConstraint xmlns:DTS="www.microsoft.com/SqlServer/Dts"><DTS:Property DTS:Name="Value">0</DTS:Property><DTS:Property DTS:Name="EvalOp">2</DTS:Property><DTS:Property DTS:Name="LogicalAnd">-1</DTS:Property><DTS:Property DTS:Name="Expression"></" from node "DTS:PrecedenceConstraint".
End Error
Could not load package "D:ExtractsGBG_ExtractSSISImport_ExtractStartComplete_03.dtsx" because of error 0xC0010014.
Description: The package failed to load due to error 0xC0010014 "One or more error occurred. There should be more specific errors preceding this one that explains the details of the errors. This message is used as a return value from functions that encounter errors.". This occurs when CPackage::LoadFromXML fails.
Source:
Started: 12:33:21 PM
Finished: 12:34:53 PM
Elapsed: 91.938 seconds







View 7 Replies View Related

T-SQL (SS2K8) :: Load Data From Flat File Source Into OleDB Destination By Changing Data Types In SSIS

Apr 16, 2014

I have an source file and i have to load it into the data base by changing datatype of the columns in ssis

View 1 Replies View Related

Use SSIS To Load Data Into CRM 3.0

Jan 18, 2007

Hi,

I have a little experience with SSIS (but a lot with DTS) and none with CRM 3.0.

Is it possible to use SSIS to import flat files into CRM 3.0 ?

And how ?

I read something that CRM 3.0 uses SQL server 2000. Should I upgrade it SQL server 2005 ?

Any suggestion where to read about this ?

Thanks in advance

Constantijn Enders

View 15 Replies View Related

Load Data Using ADO.NET In SSIS

Nov 8, 2006

Hi,

How to extract and Load Data using ADO.NET in SSIS.i hope to extract data we have DataReader source .but how to load (Insert) data with ADO.NET ?.and is ADO.Net  quicker than OLEDB ?

Thanks

Jegan.T

 

View 5 Replies View Related

SSIS Load Data - Capture Error

Jul 24, 2015

I want to create a SSIS package as follows

Conditions
If there are about 100 records in text file, if there is an error at 43 and at 67 record respectively , it should capture 43 and 67 record in failure folder and remaining 98 records , should be processed

1) Successful record into table and move the success record from the folder
to new path say( Success folder) (98 records to table)
2) Unsuccessful records to new path (Failure folder) (2 lines )
3) Error message to capture the failed records and store them in another folder(Error log) (2 line failure information)

While writing the 3rd condition to error log table , it has to point out the record which is failed for what reason, say it may be due to invalid data type for column 10 for 43 record, and incorrect syntax error at 67 record.

View 9 Replies View Related

SSIS Pkg Run Successfully But Data Does Not Load Compelety..

Apr 18, 2007

I have this data in a flat file and I'm doing a data dump to a SQL table. I created a SSIS package which ran successfully but only exporting 2 rows out of 4 rows to the SQL table. For some reason my package ignore two other rows where "col4", "col5" and "col6" do not have any data. No conditional component was used in this package to not to load those records.



col1 col2 col3 col4 col4 col5 col6

849833 02/15/06 841 VS 791 49 7
849819 02/15/06 212 NA

949070 02/15/06 230 ABS

700010 02/15/06 820 VS 690 46 6



Any idea? Thanks.

View 8 Replies View Related

SSIS XML Source , Doesn't Load Any Data

Jun 6, 2007





Hello !



Please, this is an urgent call; May be someone issued the sama probleb I do :



When I'm trying to import a XML file, that contains diffgram, using the XML Source task in SSIS, I choose an Inline Schema Option - everything goes well...the tables and columns are displayed, and the Import task into a Database's table succeds.



The problem is that , it doesn't load any data into the table, though there are plenty .

View 3 Replies View Related

To Program Between The Process Of Load Of Data In SSIS

Jun 23, 2006

It is possible to program part of the process of load of data within the SSIS. The origin is a Flat file (.txt and .dat) and the destiny a SQL Server 2005. All the fields of the file are not mapean origin with the destiny table and data are needed other tables that are in the Data Base.

View 1 Replies View Related

Ssis Package Design To Load Only Rows Which Are Changed From Exisiting Rows.

Aug 17, 2007

Hi i tried designing a SSIS package which loads only those rows which were different from existing rows in the table , i need to timestamp the existing row with an inactive date when a update of that row is inserted (ex: same studentID )
and the newly inserted row with a insert time stamp
so as to indicate the new row as currently active, in short i need to maintain history and current rows in same table , i tried using slowly changing dimension but could not figure out, anyone experience or knowledge regarding the Data loads please respond.

example of Data would be like

exisiting data

StudentID Name AGE Sex ADDRESS INSERTTIME UPDATETIME
12 DDS 14 M XYZ ST 2/4/06 NULL
14 hgS 17 M ABC ST 3/4/07 NULL


New row to insert would be

12 DDS 15 M DFG ST 4/5/07

the data should reflect

StudentID Name AGE Sex ADDRESS INSERTTIME UPDATETIME
12 DDS 14 M XYZ ST 2/4/06 4/5/07

12 DDS 15 M DFG ST 4/5/07 NULL

14 hgS 17 M ABC ST 3/4/07 NULL

Please provide your input as much as you can even though it might not be a 100% solution.






View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved