Tweeter button
Facebook button
Technorati button
Reddit button
Myspace button
Linkedin button
Digg button
Feb
05

Ken Patrick has completed testing for SQL Server 2005 Programming.
Session ID: XXXXX14923386XXXXX
Job ID: 2XXXXX    Job Title: SQL Server 2005 Programming

Score: 3.27
Proficiency Level: Proficient (2.51 – 3.50)
The candidate has mastered the basic concepts of MS SQL Server 2005 Programming, including:
•  Queries
•  Referential Integrity
•  Transact-SQL
The candidate demonstrates a clear understanding of intermediate MS SQL Server 2005 Programming concepts, such as:
•  Indexes
•  Triggers
•  Stored Procedures
The candidate may have some knowledge of more advanced MS SQL Server 2005 Programming concepts such as:
•  Architecture
•  Views
•  Performance

Feb
02

–Select Column Names By Column Type (within a Table)

SELECT column_name, data_type

FROM user_tab_cols

WHERE table_name=’RACCOUNT’

and DATA_TYPE=’DATE’;

Jan
28

SET quoted_identifier ON
GO
SET ansi_nulls ON
GO

ALTER    PROCEDURE [dbo].[EMMS_HR_USER_UPDATE]
AS
Set ANSI_NULLS ON

BEGIN
declare @EMPLOYEEINFO_SYS1_COUNT  integer
set @EMPLOYEEINFO_SYS1_COUNT = (select count(*) from [SYSTEM1\GPMS].EMMS.dbo.Employee_INFO)
If @EMPLOYEEINFO_SYS1_COUNT > 3000
BEGIN
–Backup the existing Employee_info table
Delete from Employee_INFO_BAK
INSERT INTO Employee_INFO_BAK
Select * from  [SYSTEM1\GPMS].EMMS.dbo.Employee_INFO
–Backup the existing [User] table
Delete from USER_BAK
INSERT INTO USER_BAK
SELECT * from [USER]

–Update the EMMS_LIVE EmployeeInfo table with the SYSTEM1 feed table
delete from  Employee_INFO
INSERT INTO Employee_INFO
Select * from  [SYSTEM1\GPMS].EMMS.dbo.Employee_INFO
END

–Add skeleton records for new EMPLOYEES
If @EMPLOYEEINFO_SYS1_COUNT > 3000
BEGIN
Declare @USERID varchar(6)
Declare @UNAME varchar(50)
Declare @PW BINARY (16)
SET @PW = CONVERT(binary, ‘0×49A93E8441D1B20C887E4887820976C4′)
Declare SKEL_RECORDS CURSOR
For select EMPL_ID,  dbo.DELTEK_USER_NAME(EMPL_ID) as UNAME
from Employee_INFO where
EMPL_ID NOT IN (SELECT UserID from [USER])
Open SKEL_RECORDS
Fetch NEXT From SKEL_RECORDS
into @USERID,@UNAME
While @@Fetch_Status = 0
BEGIN
EXECUTE sp_EMMS_Insrt_SKL @biPassword = @PW, @sUserID = @USERID, @sUserName = @UNAME,
@iErrorCODE = ‘ ‘
Fetch Next from SKEL_RECORDS INTO @USERID,@UNAME
END
CLOSE SKEL_RECORDS
DEALLOCATE SKEL_RECORDS
END

If @EMPLOYEEINFO_SYS1_COUNT > 3000
BEGIN
–Lock the Employee EMMS Account as they are no longer in the HR feed
Declare LOCKACCT_RECORDS CURSOR
For Select USERID from [USER] where USERID
not in (SELECT EMPL_ID from EMPLOYEE_INFO)
and USERID not in (‘0′,’999999′) and locked=’0′

Open LOCKACCT_RECORDS
Fetch NEXT From LOCKACCT_RECORDS
into @USERID
While @@Fetch_Status = 0
BEGIN
EXECUTE sp_EMMS_EMPLOYEE_LOCK_ACCT @dcID = @USERID, @iErrorCODE = ‘ ‘
Fetch Next from LOCKACCT_RECORDS INTO @USERID
END
CLOSE LOCKACCT_RECORDS
DEALLOCATE LOCKACCT_RECORDS
END

–End For the “If” statement
END

GO
SET QUOTED_IDENTIFIER OFF
GO
SET ANSI_NULLS ON
GO

Jan
24

CREATE OR REPLACE FUNCTION WITHIN4SOL(vACCOUNT VARCHAR2, STATEABBV VARCHAR2,

vYEARS INTEGER) RETURN INTEGER IS

–KJP 05-16-2005

–Calculate Statute Of Limitations, the result is a 1

–if the account will still be in statute in 4 months, 0 If not…

SOLDAYS INTEGER := vYears * 365;

–Multiply N years times days to use the days variable

D_DAY DATE := SYSDATE + 120;

–Roughly 4 months from today is the latest it TW USEFUL_DATE DATE;

–Running through the possible values to use for dates.

–This is the value that ends up being the one

–to compare against for SOL calculation

CURSOR C1_CURSOR(vACCOUNT varchar2) IS

SELECT NVL(R.CHGOFF_DATE, SYSDATE – 7500) AS COD,

NVL(R.LAST_PAY_DATE, SYSDATE – 7500) AS LPD, NVL(R.CONTRACT_DATE, SYSDATE – 7500)

as CD, NVL(R.DTE_LST_CR_CHG,SYSDATE – 7500) as LCC FROM

RACCOUNT R WHERE ACCOUNT = vACCOUNT and DIVISION_ID=’PORT’;

C1_RECORD C1_CURSOR%ROWTYPE;

BEGIN

OPEN C1_CURSOR(vACCOUNT);

FETCH C1_CURSOR INTO C1_RECORD;

CASE STATEABBV

–Texas has its own Rules

When ‘TX’ THEN

IF (C1_RECORD.COD + SOLDAYS) > D_DAY then

RETURN 1;

ELSE

RETURN 0;

END IF;

–Every other State but TX

ELSE

– Find the best date

IF C1_RECORD.LCC > C1_RECORD.LPD then

USEFUL_DATE := (C1_RECORD.LCC + SOLDAYS);

END IF;

IF C1_RECORD.LPD > (SYSDATE – 7400) then

USEFUL_DATE := (C1_RECORD.LPD + SOLDAYS);

END IF;

IF C1_RECORD.CD > (SYSDATE – 7400) AND USEFUL_DATE IS NULL then

USEFUL_DATE := (C1_RECORD.CD + SOLDAYS);

END IF;

IF C1_RECORD.COD > (SYSDATE – 7400) AND USEFUL_DATE IS NULL then

USEFUL_DATE := (C1_RECORD.COD + SOLDAYS);

End IF;

IF USEFUL_DATE > D_DAY THEN

RETURN 1;

ELSE

RETURN 0;

END IF;

END CASE;

EXCEPTION

WHEN OTHERS THEN

RETURN 0;

END;

/

Dec
22

Public Function fnctn_ELLIPSE(Lat As Single, Lon As Single, Major As Single, Minor As Single, Orient As Single) As String

‘Author Kenneth Patrick UNCLASSIFIED
‘fnctn_ELLIPSE
‘Created: 16 may 1998
‘Last Update 17 March 1999
‘ELLIPSE ALGORITHM – Writes an ARCVIEW Ellipse Polyline Shape String, based on input

On Error GoTo errorhandler

Dim X As Single ‘Variable to figure for first X (LON), X is the X offset from the origon of the ELLIPSE
Dim Y As Single ‘Variable to figure for first Y (LAT), Y is the Y offset from the origon of the ELLIPSE
Dim New_X As Single ‘Variable to figure for NEW X (LON), X is the X offset (USING the Axis Orientation) from the origon
Dim New_Y As Single ‘Variable to figure for NEW Y (LAT), Y is the Y offset (USING the Axis Orientation) from the origon
Dim Angle As Integer ‘Angle from 1 to 361 used to run in the DO LOOP
Dim CSign_Orient As Single ‘COS of the AXIS ORIENTATION (Orient) used to fig NEW_X and NEW_Y
Dim SSign_Orient As Single ‘SIN of the AXIS ORIENTATION (Orient) used to fig NEW_X and NEW_Y
Dim Neg_X As Single ‘ Negative of the X used to figure NEW_Y
Dim New_Script_Str As String ‘Holds the New Script calculated with Axis Orientation

Major = Major / 60
Minor = Minor / 60

Angle = 1

‘reverse the Orientation, positive numbers rotate the origional axis counterclockwise, I use
‘negative numbers to coincide with the clockwise direction of increasing bearings
Orient = -(Orient)

‘Main Do loop…overlaps past 360 degrees because ARCVIEW drops the last point whether or not the graphic shape is a complete unit

Do Until Angle >= 370
‘Sin the major and Cos the minor
‘Figure initial X and Y offset (orientation axis offset) based off of these figured points.
X = Sin(Angle * DGRS_RAD) * Major ‘Figure X (Longitude) based off Major Ellipse (.01745 = the radian to angle ratio)
Y = Cos(Angle * DGRS_RAD) * Minor ‘Figure Y (Latitude) based off Minor Ellipse (.01745 = the radian to angle ratio)

START_LON = Lon ‘ utilize the Lon value passed to it…must be a single
START_LAT = Lat ‘ utilize the Lat value passed to it…must be a single

‘Prerequisite figures to perform the NEW_X and NEW_Y
CSign_Orient = Cos(Orient * DGRS_RAD)
SSign_Orient = Sin(Orient * DGRS_RAD)
Neg_X = -(X)

New_X = (X * CSign_Orient) + (Y * SSign_Orient)
New_Y = (Neg_X * SSign_Orient) + (Y * CSign_Orient)
New_X = New_X + START_LAT ‘Add the offset to the origon point
New_Y = New_Y + START_LON ‘Add the offset to the origon point
Dim My_Y As Variant
My_Y = New_Y
My_Y = CDec(My_Y)

Select Case Angle
Case 1
‘First Point for the ELLIPSE script, needs the opening “( {{”
New_Script_Str = “thepolyLine = PolyLine.Make ( {{” & My_Y & “@” & New_X & “,”
Case 361
‘Last Point for the ELLIPSE script, needs the “}} )”
New_Script_Str = New_Script_Str & My_Y & “@” & New_X & “}} )” ‘Format the ARCVIEW SCRIPT using Axis Rotation
Case Else
‘The remainder of points get the standard formatting “Lon@Lat,”
New_Script_Str = New_Script_Str & My_Y & “@” & New_X & “,” ‘Format the ARCVIEW SCRIPT using Axis Rotation

End Select

Angle = Angle + 10 ‘increment the loop by 10 degrees, clockwise
‘Changed 11/15/99
Angle = Angle + 5 ‘increment the loop by 5 degrees, clockwise

Loop

‘Assign the script as the output of this function
fnctn_ELLIPSE = New_Script_Str

errorhandler:

If Err.Number > 0 Then
Debug.Print “Errorhandler-MODULE1.functn_ELLIPSE Error Number: ” & Err.Description
End If

End Function

Oct
17

‘Kenneth Patrick UNCLASSIFIED 06 Jan 1999

Public Const YD_NM As Single = 0.0004937365
Public Const YD_MTRS As Single = 0.9144
Public Const KM_NM As Single = 0.54
Public Const MTRS_YD As Single = 1.094
Public Const MTRS_FT As Single = 3.281
Public Const FT_MTRS As Single = 0.3048
Public Const Pi As Single = 3.1415926535897
Public Const RAD_DGRS As Single = 57.2957795130823
Public Const DGRS_RAD As Single = 0.0174532925199

‘32 Bit Sleep Function
Declare Sub Sleep Lib “kernel32″ (ByVal dwMilliseconds As Long)

Public Function fnctn_RHUMB(START_LAT As Single, START_LON As Single, CRS As Single, DST As Single, OUTPUT_FRMT As String) As String

‘Author Kenneth Patrick AD&D Inc. UNCLASSIFIED
‘fnctn_RHUMB
‘Created: 06 Jan 1999
‘Last Update 16 Apr 1999
‘RHUMB LINE ALGORITHM Mid-Latitude sailing Formula From “Dutton’s Navigation and Piloting” Adapted to Code
‘Equation: (L = DST X cosCRS) (p = DST X sinCRS) (Dlo = p / cosLM)
‘Input: “Start LAT (+NORTH/-SOUTH single),Start LON (+EAST/-WEST single), COURSE in Degree’s, DISTANCE in Nautical Miles,OUTPUT FORMAT: String”
‘Output Formats: “Lat(+/- Single)”, “Lon(+/- Single)”, “Lon@Lat”, “Lon,Lat”

On Error GoTo errorhandler

Dim L As Single
Dim P As Single
Dim LM As Single
Dim COS_LM As Single
Dim DLO As Single
Dim END_LAT As Single
Dim END_LON As Single

L = (DST / 60) * Cos(CRS / RAD_DGRS) ‘L used in the equation to figure END_LAT / DLO
P = (DST / 60) * Sin(CRS / RAD_DGRS) ‘P used in the equation to Figure DLO
LM = ((L / 2) + START_LAT) / RAD_DGRS ‘DLO (step 1)
COS_LM = Cos(LM) ‘DLO (step 2)
DLO = P / COS_LM ‘DLO (step 3)
END_LAT = Format(START_LAT + L, “###.##########”) ‘ format the Destination Latitude in decimal degrees

Dim v_LAT As Variant
v_LAT = END_LAT
v_LAT = CDec(v_LAT)

If START_LON < 0 Then ‘Added to resolve the positive and negative issue with Longitudes
END_LON = Format(DLO + START_LON, “###.##########”) ‘ format the Destination Longitude in decimal degrees
Else
END_LON = Format(START_LON + DLO, “###.##########”) ‘ format the Destination Longitude in decimal degrees
End If

Dim v_LON As Variant
v_LON = END_LON
v_LON = CDec(v_LON)

Select Case OUTPUT_FRMT ’select output type based on input parameter passed to this function
Case “AT”
fnctn_RHUMB = v_LON & “@” & v_LAT ‘output 75.56005@12.22208
Case “COMMA”
fnctn_RHUMB = v_LON & “,” & v_LAT ‘output 75.56005,12.22208
Case “LON”
fnctn_RHUMB = v_LON ‘output 75.56005
Case “LAT”
fnctn_RHUMB = v_LAT ‘output 12.22208
Case Else
fnctn_RHUMB = “”

End Select
Exit Function

errorhandler:

If Err.Number > 0 Then
Call LogErr(“Errorhandler-FUNCTION functn_RHUMB Error Number: ” & Err.Description)
End If

End Function

Sep
09

//using System.IO;

//using System.Configuration;
public Boolean Write_Log_Entry(string Log_entry)
{
try
{
string sLogPath = ConfigurationManager.AppSettings["LOG_PATH"];
string sLogname = ConfigurationManager.AppSettings["LOG_NAME"];
string full_log_namePath = sLogPath + “\\” + sLogname;

// Self Explanatory
StreamWriter SW;
if (File.Exists(full_log_namePath))
{
//Append to the log file
SW = File.AppendText(full_log_namePath);
SW.WriteLine(Log_entry);
SW.Close();
return true;
}
else
{
// Make the file if it doesn’t exist, then append to it
File.Create(full_log_namePath);
SW = File.AppendText(full_log_namePath);
SW.WriteLine(Log_entry);
SW.Close();

return false;
}
}
catch
{
MessageBox.Show(“An error occurred. Can not access the application log”, “Application Error”);
return false;
}
}

Aug
04

Private Sub ShowPlansAvailable()

‘From the Web.Config File
‘<add key=”LINKMonth” value=”7″ />
‘<add key=”LINKDay” value=”1″ />
‘<add key=”LINKYear” value=”2008″ />

Try
Dim iPlanCount As Integer = 0
Me.pnlError.Visible = False
Me.pnlSearchResults.Visible = True

Dim dtNow As DateTime = DateTime.Now
Dim dtNewPlanDate As DateTime

Try
Dim intMonth As Integer = CInt(System.Configuration.ConfigurationManager.AppSettings(“LINKMonth”))
Dim intDay As Integer = CInt(System.Configuration.ConfigurationManager.AppSettings(“LINKDay”))
Dim intYear As Integer = CInt(System.Configuration.ConfigurationManager.AppSettings(“LINKYear”))
dtNewPlanDate = New DateTime(intYear, intMonth, intDay)
Catch ex As Exception
‘Default the date in case the keys weren’t added to the Web.Config file
dtNewPlanDate = New DateTime(2008, 7, 1)
End Try

‘TODO: Change the hyperlink url’s
‘If the date is greater than 07/01/2008 00:00 then use these new links
If dtNow >= dtNewPlanDate Then
‘it’s after 07/01/2008 00:00, New Plan date
‘turn off the old hyperlinks
Me.hypDirectHMO.Enabled = False
Me.hypSelectHMO.Enabled = False
Me.hypDirectPOS.Enabled = False
Me.hypSelectPOS.Enabled = False
Me.hypPPO.Enabled = False
Me.hypDirectHMO.Visible = False
Me.hypSelectHMO.Visible = False
Me.hypDirectPOS.Visible = False
Me.hypSelectPOS.Visible = False
Me.hypPPO.Visible = False

‘PPO’s (All 3)
If oZipSearch.PPO = True Then
iPlanCount = iPlanCount + 3
Me.hypNEWPPO1.Enabled = True
Me.hypNEWPPO1.Visible = True
Me.hypNEWPPO2.Enabled = True
Me.hypNEWPPO2.Visible = True
Me.hypNEWPPO3.Enabled = True
Me.hypNEWPPO3.Visible = True
Else
Me.hypNEWPPO1.Enabled = False
Me.hypNEWPPO1.Visible = False
Me.hypNEWPPO2.Enabled = False
Me.hypNEWPPO2.Visible = False
Me.hypNEWPPO3.Enabled = False
Me.hypNEWPPO3.Visible = False
End If

‘HMO
If oZipSearch.HMODirect = True Then
iPlanCount = iPlanCount + 1
Me.hypNEWHMO.Enabled = True
Me.hypNEWHMO.Visible = True
Else
Me.hypNEWHMO.Enabled = False
Me.hypNEWHMO.Visible = False
End If

Else
‘it’s before 07/01/2008 00:00
‘using the orig. logic
‘it’s before D-day turn off the new links

If oZipSearch.HMODirect = True Then
Me.hypDirectHMO.Enabled = True
Me.hypDirectHMO.Visible = True

Else
Me.hypDirectHMO.Enabled = False
Me.hypDirectHMO.Visible = False
End If

If oZipSearch.HMOSelect = True Then
Me.hypSelectHMO.Enabled = True
Me.hypSelectHMO.Visible = True

Else
Me.hypSelectHMO.Enabled = False
Me.hypSelectHMO.Visible = False
End If

If oZipSearch.POSDirect = True Then
Me.hypDirectPOS.Enabled = True
Me.hypDirectPOS.Visible = True
Else
Me.hypDirectPOS.Enabled = False
Me.hypDirectPOS.Visible = False
End If
If oZipSearch.POSSelect = True Then
Me.hypSelectPOS.Enabled = True
Me.hypSelectPOS.Visible = True
Else
Me.hypSelectPOS.Enabled = False
Me.hypSelectPOS.Visible = False
End If
If oZipSearch.PPO = True Then
Me.hypPPO.Enabled = True
Me.hypPPO.Visible = True
Else
Me.hypPPO.Enabled = False
Me.hypPPO.Visible = False
End If

End If

Catch ex As Exception

Finally

End Try

Jul
09

UPDATE Table1 SET
Table1.Comments = Table2.Comments,
Table1.Status = Table2.Status,
Table1.Status_days = Table2.Status_days, Table1.Status_DHS = Table2.Status_DHS,
Table1.LAST_TRANS_DATE = Table2.LAST_TRANS_DATE FROM Table1
INNER JOIN dbo.Table2 ON Table1.UDO_ID = Table2.UDO_ID
AND Table1.DOC_ID = Table2.DOC_ID WHERE Table1.Status_DHS = ‘Action Rqd’
AND Table2.Status_DHS = ‘Validated’
AND Table1.FY = ‘2009′ AND Table1.QTR = ‘3′
AND Table2.FY = ‘2009′ AND Table2.QTR = ‘3′

Jun
03


Problems:

  • Worked Previously now am getting errors from SQL Server Management Studio 2005 using the Import and Export Wizard.  This applies to connections to either SQL-Server 2000 or SQL-Server 2005
  • SSIS 2005 DATA FLOW TASK worked previously now I’m getting errors.  This applies to connections to either SQL-Server 2000 or SQL-Server 2005
  • Worked Previously now am getting errors from SQL Server Manager 2000 using the Import and Export Wizard.  This applies to connections to either SQL-Server 2000 or SQL-Server 2005

Solution:

  • The WAN on this large government network is running McAfee “Host Intrusion Protection System”.  The latest update flagged (SOME) SQL transactions as “SQL Injection Attacks” so the connection would be dropped anywhere from immediately to 4 hours into a transaction.  An exclusion was added and bingo everything works normally.  This was a nightmare to troubleshoot because I can’t turn tracing on, on production SQL boxes and wasn’t really able to detect if the connection was being dropped by the source, destination, or on a hop in between.

Errors from SQL Server Management Studio 2005 using the Import and Export Wizard:

- Copying to [MYDATABASE].[dbo].[MY_TABLE] (Error) Messages Error 0xc0202009: Data Flow Task: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0×80004005.
An OLE DB record is available. Source: “Microsoft SQL Native Client” Hresult: 0×80004005 Description: “Communication link failure”.
An OLE DB record is available. Source: “Microsoft SQL Native Client” Hresult: 0×80004005 Description: “TCP Provider: An existing connection was forcibly closed by the remote host.
“.
(SQL Server Import and Export Wizard)

Error 0xc0209029: Data Flow Task: SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR. The “input “Destination Input” (68)” failed because error code 0xC020907B occurred, and the error row disposition on “input “Destination Input” (68)” specifies failure on error. An error occurred on the specified object of the specified component. There may be error messages posted before this with more information about the failure.
(SQL Server Import and Export Wizard)

Error 0xc0047022: Data Flow Task: SSIS Error Code DTS_E_PROCESSINPUTFAILED. The ProcessInput method on component “Destination – MY_TABLE” (55) failed with error code 0xC0209029. 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.
(SQL Server Import and Export Wizard)

Error 0xc0047021: Data Flow Task: SSIS Error Code DTS_E_THREADFAILED. Thread “WorkThread0″ has exited with error code 0xC0209029. There may be error messages posted before this with more information on why the thread has exited.
(SQL Server Import and Export Wizard)

Error 0xc02020c4: Data Flow Task: The attempt to add a row to the Data Flow task buffer failed with error code 0xC0047020.
(SQL Server Import and Export Wizard)

Error 0xc0047038: Data Flow Task: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED. The PrimeOutput method on component “Source – MY_TABLE” (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.
(SQL Server Import and Export Wizard)

Error 0xc0047021: Data Flow Task: 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.
(SQL Server Import and Export Wizard)

DDL works fine:

SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_PADDING ON
GO
CREATE TABLE [dbo].[RGN](
[AGY_CODE] [varchar](1) NULL,
[RGN] [varchar](1) NULL,
[RGN_DESC] [varchar](25) NULL
) ON [PRIMARY]

GO
SET ANSI_PADDING OFF

SSIS 2005 Error:

[TRANS_MYTABLE 1 [3061]] Error: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0×80004005. An OLE DB record is available. Source: “Microsoft SQL Native Client” Hresult: 0×80004005 Description: “Communication link failure”. An OLE DB record is available. Source: “Microsoft SQL Native Client” Hresult: 0×80004005 Description: “TCP Provider: An existing connection was forcibly closed by the remote host. “.

[TRANS_MYTABLE 1 [3061]] Error: SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR. The “input “OLE DB Destination Input” (3074)” failed because error code 0xC020907B occurred, and the error row disposition on “input “OLE DB Destination Input” (3074)” specifies failure on error. An error occurred on the specified object of the specified component. There may be error messages posted before this with more information about the failure.

Error: SSIS Error Code DTS_E_PROCESSINPUTFAILED. The ProcessInput method on component “TRANS_MYTABLE 1″ (3061) failed with error code 0xC0209029. 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.

[TRANS_ORACLE 1 [1]] Error: The attempt to add a row to the Data Flow task buffer failed with error code 0xC0047020.

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.

Errors from SQL Server Manager 2000 using the Import and Export Wizard:

Sql Server 2000 Import Export Error