-
-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question: connecting to old SQL server #423
Comments
SQL2000!!!??? wow! Looks likes somebody has to load data from a veeeery old application!
You can look at the extensions for native SqlServer if you want some inspiration. FYI, making custom extensions is very accessible. https://github.com/paillave/Etl.Net/tree/master/src/Paillave.Etl.SqlServer |
So I came as POC with this approach:
I assume if I would like to call stored procedures ones which return nothing I should use |
What you did is correct. I remember now that, indeed, at the time of sqlserver 2000, odbc drivers was the recommended way; I'll make an amendment to permit sql extenstions to work with it as an option. On the current sql server extension, the way to go to execute stored procedure is to use |
note for myself, permit SqlServer extensions to work with OdbcDrivers as well |
sql server should works with any adonet driver #423
@Radamonas I just pushed v2.1.3-beta that you will find in pre release. This should permit SqlServer extension to work with any adonet driver (including ODBC). Let me know if it works for you. |
I've changed the code to:
|
Tried to call:
Got error: Am I missing something in this case? |
Sorry for this. |
I think I know what is the problem. It will require a bit of work. As I'm very busy, I don't think I'll be able to solve this today. I will let you know asap. |
I have another issue with this version. I tried to get trans id from one source and apply it to the query to another source. Failed, then changed the id to static value. Failed. When second query was changed to use fixed value within query it passed. Bellow is the second option (both are ODBC cconnections):
Seems it is not resolving parameter @Transid. Errors in TaskContinuations.cs:
Error message:
|
Yes, that makes part of my findings. OleDb and ODBC don't work like pure SQL drivers. I'll make all the necessary amendments. |
@paillave are there any updates regarding oledb and odbc support? |
Hello @Radamonas, it is still under development. I don't have a lot of free time, but this is still something I'm working on. You will be the first informed once this is done. |
I did... but I'm working on a amendment that will make sql queries not depending on the DbConnection type |
@paillave, I see it's still marked as help wanted, and I happen to be someone looking for a help wanted sign. If you are still interested in help, can you go over the code changes so far? If it's easier for you to review on a call that works for me, just let me know. |
Is there a way to use other db connector except EFCore and SQLClient to access databases? As we have issue using any of the implemented due to the issue, that database we are targeting is SQL 2000.
The text was updated successfully, but these errors were encountered: