Greg Ryan (@GJRyan59) header
Greg Ryan (@GJRyan59) profile picture

SQL DBA, SSIS, Change Data Capture

Noblesville, IN
Joined March 2010
Photo by Greg Ryan (@GJRyan59)Photo by Greg Ryan (@GJRyan59)Photo by Greg Ryan (@GJRyan59)Photo by Greg Ryan (@GJRyan59)
SSIS OLEDB Source: SQL:SELECT * FROM dbo.CAMRULE (NOLOCK) WHERE tRowVersion > ? (tRowVer is Timestamp. Parm/ var is BYTE Returns Error: "Microsoft SQL Server Native Client 11.0" Hresult: 0x80040E21 Description: "Invalid character value for cast specification". #sqlhelp
2
Trying to use rowversion (Timestamp) in SSIS as a for a high watermark to extract changed data Failure 1: try to store the Max Rowversion in a variable Varbinary(8) to Variable type Byte Get me an error. #sqlhelp #SSIS
4
1
This is forcing me to convert the field on the data side to compare it to the Value WHERE CONVERT(VARCHAR(MAX), CONVERT(BINARY(8), tRowVersion), 1) > ?; this is bad SQL and makes the result take to long. What am I missing here? Shouldn't varbinary store in a Byte variable?
1
Failure 2: Convert and store the Rowversion value as a nvarchar(max) then try to convert it back to a SQL variable in the data source Query Declare@rowversion Varbinary(8); Set @rowversion = Convert(Varbinary(8),?,1) this also fails with an Error
1
Any known issues with Change data capture specificly with Deadlocks on the state table. When applying CU's on 2016 somewhere between CU5 and CU11. Our cloud vendor applied CU11 and this strated poping up. #SQLHELP
1
Really not happy with Microsoft support right now. Have a failed 2014 SP3 failed upgrade. the whole thing worked except the SSIS_HotFix_Install and this script is cached in the Master. version has changed so can't restore the master They evidently don't know anymore than I do
1
Does anyone have or remember who the head of the SQL team is at Microsoft? Need contact info #sqlhelp #sqlpass
1
1
Trying to apply SP3 to sql2014 Server The ssis_hotfix failed Getting this error in the SQL log after using -T902 to get server back up "Cannot find the user ‘##MS_SSISServerCleanupJobUser##’, because it does not exist or you do not have permission." #SQLHELP
2
1
I have dropped and Added the login And Dropped and added the user in SSISDB Still won't complete upgrade Ideas?
1
Trying to apply SP3 to sql2014 Server The ssis_hotfix failed Getting this error in the SQL log after using -T902 to get server back up "Cannot find the user ‘##MS_SSISServerCleanupJobUser##’, because it does not exist or you do not have permission."
1
Which is more stable/ Better in an SSIS connection to SQL Server ADO or OLEDB? #SQLHELP
2
1
Are there SQL Server side settings that could affect ODBC / OLEDB Connectivity?
1
Everything I read says OLEDB is faster. But I was having an issue with a connection in SSIS so switched it to ADO and it seems faster and more reliable? Thoughts? Opions?
1
Turning out some wood craft. Available for purchase #gregswoodcraft
1
Occasionaly getting Deadlocks on CDC State tables. The are really small tables 25+ records each. I've already disabled lock esclation. Any other Ideas. It's disupting my process. #sqlhelp @SQLEspresso
1
Using Change Data Capture as an ETL Tool. Have had serveral occasions where the table(s) storing the LSNs gets a deadlock. I have spread the load across multiple tables since we are replicating about 125 tables. Thought of setting lock esclation off. Any other ideas? #sqlhelp
1
2
I have a docker desktop install issue Getting pre error but I'm on win10 ver 1607 which is later ?? #sqlhelp
1
Good Morning #sqlfamily We are in a season frome twilight zone here in Indy Novembuary 12 degrees and two inchs of snow. not normal for this time of year.
1
Is there a way to join sysprocesses back to an individual table in a Db? Having a problem with Change Data Capture on a high volume table. want to log locks and waits over time #sqlhelp
2
1
Can't do extended events as the database is on a Cloud Db which is proprietary and only have dbo access to the Db and view server state
1
1