I am trying to sqoop export data to SQL Server with --update-mode as 'allowinsert' and getting below error :
Error during export: Mixed update/insert is not supported against the target database yet
Has anyone faced this error with SQL server and is there any version of SQL Server which supports upsert operation through SQOOP. The Sqoop version I am using is 1.4.6
I'm facing the same issue. The feature is simply not supported in Sqoop 1.4.6 (for SQL Server that is). The best way to do so is, if possible, upgrade Sqoop to version 2.
In my case that is not possible, so I have to perform two sqoop jobs: one for inserting and one for updating.
If someone have a better way of doing that, please feel free to share!
It appears to be working with the following combination:
Sqoop 1.4.6.2.6.5.0-292 and SQL Server 13.0.5026.0 (SQL Server 2016). But I'm not sure that it's working because of the specific combination, rather than specific settings on the SQL server OR this specific version of Sqoop.
Related
I would like to have a SQL Server DB as a source into Kafka.
However, my SQL Server version is old (2012 Standard) and does not have the CDC feature, what are my options?
The 2 ways I've seen, from the Kafka documentation and blogposts, are to use the Debezium connector or the JDBC Connector. The content I read was from a 2018 post and so I wanted to check, now in 2022, if there are any new options that I'm missing.
Given the situation (SQL Server 2012), here are the choices I could think of:
Upgrade the DB to a later version, enable CDC, and work with the Debezium SQL Server Kafka Connect Source connector in true CDC
use the Confluent JDBC source connector
Are these the only 2 good options even in 2022?
(By good I mean please exclude telling me to write your own query-based CDC code).
Is the decision really just between:
ideal: I can upgrade the DB to a later SQL Server Version with CDC: then enable CDC and use the Debezium connector
not so ideal: I cannot upgrade the DB, no choice but to use the JDBC Source Connector
?
p.s I have referred to and read this question but that was from 2019 and also I wanted to know if upgrading and then using Debezium is a good idea
I'm new in this field, please kindly help me.
I'm installing pentaho biserver for community in my notebook. At first, it's succeed (with default configuration) like this. but, when I'm trying to change the database with ms sql server like this tutorial,
help.pentaho.com/Documentation/5.4/0F0/0K0/040/0D0
an error occurs:
Can anybody tell me what's wrong with the installation?
I'm using:
Sql server developer edition 2014
pentaho biserver community 4.8.0
apache-tomcat-8.5.3
jdk8
sql server driver sqljdbc42.jar and I put it under \biserver-ce\tomcat\lib
I also try something like Using Pentaho Community Edition with SQL Server 2005 but still not working.
switch to default configuration. no need to do anything. while creating Datasource connection Pentaho provides option for connecting to different RDBMS database.You just need to place JDBC connector file into lib directory.
I have this issue which I have asked about here
In all my programmatic attempts to fix the issue above, things like this are displayed in the messages box:
Reference to database and/or server name in
'master..sp_addsrvrolemember' is not supported in this version of SQL
Server.
How do I find the version of SQL Server,I am using? It seems nothing is supported by my version.
Is the issue can be that - I am not using SQL Server somehow? I am using Microsoft Azure to host my database. Does that make you use SQL Azure? In SSMS, in the Object Explorer, at the top where it says the server, it says gonskh1ou0.database.windows.net(SQL Server 13.0.201 - Amber). Amber is my user name, and is the administrator. SQL Server 13.0.201 is not in this list of SQL Server build numbers
Yes, you are using the Azure version of SQL Server, which does not support sp_addsrvrolemember.
(Do note that that stored procedure is deprecated and you should be using ALTER SERVER ROLE, which is supported at least in Azure SQL Data Warehouse's preview.)
The only way to run a full SQL Server is to create a VM and run it there yourself. The Azure version will never be the full version.
You are using Microsofts implementation of SQL server, the version number and name(Amber) supplied are indeed correct. Depending on the level of Azure account you are using, this server is usually configurable.
Microsoft Azures platform contains some very nice support and I would advise consulting directly with a rep. They have always been very helpful and quick to help in regards to configuration issues, even performing the configurations for you if required.
I cannot seem to browse the tables on my Azure SQL Server database from within Oracle SQL Developer (Version 4.1 - using jtds-1.3.1.jar plugin).
I can connect and perform all queries (inserts, selects, etc.), but when I try to expand it to view the tables, I see this error:
An error was encountered performing the requested operation:
Reference to database and/or server name in 'master..sysdatabases' is
not supported in this version of SQL Server.
Vendor code 40515
Note: I tried rolling SQL Server back to version 3, and I'm getting the same error.
Please advise. Thanks for your help!
We're not certified for Azure..there's a similar problem in SQL 2014. The way we're asking for a list of tables isn't valid in that version. Would require an enhancement request to support Azure for Oracle Database Migrations.
I have to import about 50000 rows from a view in sql server into postgresql.
Sql server is 2000 version
Postgresql is 8.X
I thought it was an easy task and I could accomplish it exporting into a csv file.
I'm having lots of trouble and I lost too much time on this task, so I'm looking for an alternative. Is there a well tested way to import data from sql server ? I searched on internet and found some magic migration software but I have a quite simple goal (a single table to import) and I would like to avoid installing untrusted and unknown software.
Two more possibilities come to my mind: use enterprise manager to connect to Postegresql (with OBCD driver ?) or pgadmin to connect to sql server. Are they both feasible ?
Thanks
Filippo