Questions tagged [c++]

8 questions
2
votes
1 answer

SQL Server 2019 running 100% on only 1-2 cores with MAXDOP 8 to 14

Here is the background on this issue. I am inserting slightly over 1 million records into a table from within a C++ program using ADO. One row at a time is read in from flat file and converted info a format that ADO will accept to add/update into…
1
vote
0 answers

mysql build error on Raspberry Pi Model 3A+ with Raspbian

I am building MySQL version 8.0.37 on a Raspberry Pi Model 3A+ with the Raspbian OS. I have encountered several build errors regarding missing dependancies and resolved them. I am now faced with an error I am not sure how to debug. Can anyone…
1
vote
1 answer

NpgsqlParameter Array of smallints is receiving 0 instead of null value from postgres

I got strange result with NpgsqlParameter in C++/CLI project. NpgsqlParameter^ status = wCMD->Parameters->Add(gcnew NpgsqlParameter("param1", NpgsqlDbType::Array | NpgsqlDbType::Smallint)); status->Direction =…
1
vote
2 answers

Serialize MYSQL_RES

I have 2 servers (One for Database Connections and one or more for client connections) running in a machine. The job of the database connections server is to fetch data from MySQL database (Aurora) and give this to the other servers on…
0
votes
3 answers

Force Strict Encryption from a C++ Application

I am using SQL Server 2022 Standard Edition. It has an additional option of setting Force Strict Encryption, which I have set on the server side. Using SSMS on a client machine, I am able to connect and access a user table. But I am failing to do…
0
votes
2 answers

Always Encrypt C++

Our client application is developed in C++ and uses ODBC Driver (Version 17) to connect to remote SQL database. We have enabled Always Encrypt option to encrypt the data. Using proper flags in connection string we are able to connect and perform SQL…
Amal Jesudas
  • 69
  • 1
  • 7
0
votes
1 answer

How to start building your own DBMS (based on PostgreSQL)?

I'd like to learn how to make a DBMS (relational), based on PostgreSQL specifically. Not for production purposes to make a commercial product but to learn. I plan on using C++ but, it's not exactly easy to find information out there on how to build…
Chessbrain
  • 1,223
  • 3
  • 17
  • 25
-1
votes
2 answers

Always Encrypted SQL Server : How to insert / updated using C++ code?

I have set the Always Encrypted option to my table columns. Now I need to insert or update my table from my C++ Client application. I know that we need to declare params and use them for Always Encrypted. From SSMS I am able to do so without any…
Amal Jesudas
  • 69
  • 1
  • 7