UniScript and specific SELECT script won't work
Hi, I use Uniscript with Interbase 7, and with this particular script, nothing append on the DB : SELECT GEN_ID( my_gen, MAX(id) - GEN_ID(my_gen, 0)) FROM my_table; (The generator my_gen should have taken the max value of my_table.ID). And no error were
TMSTable.post problem: Operation Aborted. How to get more detailed information ?
Hello, Using an TMSTable with 82 fields, and 1 keyfield (integer), I'm able to Insert, Delete and Edit, but when I execute Post, the operation fails with exception: Operation Aborted and no further information. If I delete the record and then Insert,
Issue with Inserting Current Time Using Now Function in Timestamp Column in Delphi 12 and UniDac 10.0.0
I have a problem with compiling in Delphi 12 with UniDAC 10.0.0. Everything works in Delphi 11 with UniDac 9.4.0. Database is Postgres. When I want to insert the current time into a table item that is of the timestamp type using the Now function, an error
BLOB With VirutalQuery Oracle
Hi, I need to use VitrualQuery to transfert Tables, table with clob et blob, but if I done the folowing code. With Postgres at the end Table2.Memo is filled by with Oracle is Empty. If I execute 'INSERT INTO TABLE2 SELECT * FROM TABLE1' in sqlplus it
Delphi 12 components
Hello, Delphi 12 has been out for 3 days and I see that it is not possible to download SDAC components for this new version. When can I expect components for version 12 ? I'm a bit surprised that there are no components on the same day that Delphi comes
F2063: could not compile used unit 'MyAccess'
I'm using the new MyDAC 12.0 professioal in Delphi 12.0. I get this error. The same for the unit 'DbAccess'. This version of MyDAC in Delphi 11.3 works fine. Is something wrong with the paths? Incompatible .dcu ?
RAD Studio 12 support
Any idea how soon after launch that MySQLDAC (Delphi Components) will be updated to be used in RAD Studio 12 ? Or can it be installed in RAD 12 now?
UniDAC Update - Delphi 12
Delphi 12 has been released. When can we expect an update of the UniDAC components?
SDAC version 11.0.0 not yet available for Delphi 12
Hello, I have received the notification that SQL Server Data Access version 11.0.0 and VirtualDac 13.0.0. is available for download. When I go to my profile to download the version I noticed that the Delphi 12.0.0 version is available for download.
TUniQuery - how to assign JSON object to it?
Can someone please give me an example how to assign a JSON object (got from HTTP response query) to TUniQuery component? In Delphi (10). Thanks.
Oracle 11 XE - Error ORA-24816: Expanded non LONG bind data supplied after actual LONG or LOB column
Hello, I have a problem with Oracle 11 Express Edition after upgrade ODAC from 10.1.3 to version 12.3.0 (Delphi 10.2). When I try to update a table with a CLOB field, I get ORA-24816 error (Expanded non LONG bind data supplied after actual LONG or LOB
Setting Servername with Port doesn't change port sind 10.2
With older version we only could set the servername in form of "server.local,1434" and the connection could be opened. When I use Version 10.2 the Port of the connection still stays on default 1433. Connection can than not be opened.
cannot insert unicode value in table (Mydac 9.1.3 for RAD Studio 10.2)
Hi, I have create a very simple database to test inserting unicode characters: CREATE TABLE `tencodingtest` ( `pk` int(11) NOT NULL AUTO_INCREMENT, `value_as_utf8` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL, `value_as_utf16` varchar(30)
How to know which SQL driver was selected by prAuto ?
Hello All, Is there any way to find out which sql driver the MSConnection have selected, when it is connected and the provider option is set to prAuto ? Some drivers are not suitable for datatypes like ftDate and ftTime, and I would like to know which
Get All Schemas for a Database in Postgres
Hi, I use the code below to get all Database for Postgres : //---- Effacement Database.Clear; //---- Création de la base de données TC := TUniConnection.Create(Self); try //---- PostgreSQL if not (Port.IsNullT or Server.IsNullT or UserName.IsNullT or
How can I prove that a SSH connection made by SecureBridge + ODAC is actually SSH
Hello Devart, We have recently added Secure Bridge to our product which uses ODAC to connect to an Oracle database. A security-minded customer wants be be certain that the connection is actually SSH. How can this be demonstrated beyond just "you can connect,
IBDAC Fastreport integration
Hello, I'm using IBDAC (latest version) in combination with Fastreport (latest version). In the parameters i send to Fastreport i also send the location of the database. I have IBDAC database component in the report and i set the path correctly to the
Error deleting record from table
I am trying to delete a record from a table, and receive this message: Incorrect Syntax near 'Index'. If this is intended as part of a table hint, A WITH keyword and parenthesis are now required. See DQL Server books Online for Proper Syntax. I am using
Program refused to run with SQL server access error, Before tmsconnection is connected
Hi, From a Windows 10 Pro workstation (in a workgroup) I am having problems connecting to a SQL server 2022 (Express) on a Windows 11 Pro machine (same workgroup), using Windows Auth. I have setup the SQL to allow both Windows and SQL server users, and
Swapping Connectionstring between Prod and Development
Hello, Using latest SDAC and Delphi 11.3: Today I forgot to change the connection string in an application I sent to a customer. That made me think if there would not be a better, and simpler, method than to replace the connection string and recompile
Cannot connect to SQLServer in os authentication mode
Hello! Delphi 11.3 Pro. This is my connection configuration: object UniConnection1: TUniConnection ProviderName = 'SQL Server' Port = 1433 SpecificOptions.Strings = ( 'SQL Server.Authentication=auWindows') Server = 'DESKTOP-4J9A9E5' LoginPrompt = False
Postgres
Estoy trabajando con el componente tunisql con una base de datos postgres, el problema es cómo recupero el id usando esta declaración: ON CONFLICT DO NOTHING, devolviendo id
TUniLoader - Oracle 19c: Direct path loading is not supported in Direct mode
Hello, we are currently using version 8.4.4 of the "Universal Data Access Components" for Delphi 10.4. For copying data we use the component TUniLoader, which has worked without any problems so far. We now want to copy data from one Oracle 19c instance
EORAERROR - ODAC DB Exception
We would like to handle exceptions according to the error number of the EORAERROR class. I would like to know the defined error number and message-related meaning. The following is an example of handling major exceptions when an error occurs when executing
UniDac Disconnected Mode Bug
I am using Delphi 11.3CE and UniDac 9.4.0 trial version, the problem is like this, I create two connections, one connection to SQL SERVER, one connection to Oracle (Disconnected are assigned to True), create two Query and set up the corresponding connection,
Change notification is not supported in Direct mode
Hi I would like to use change notification but i looks that this feature cannot use in Direct mode. Is there a workaround using change notification in Direct mode because our clients have no Orcale client installed. br, Robert
MS SQL Date and Time fields seen as TWideString fields by Delphi
Hi All, I know this is not a SDAC created problem, but nevertheless, it is a problem for me, using SDAC and MS SQL tables with Date and Time fields. It's with Delphi 11.3 on Win 10 and 11. The problem is that Delphi see MS SQL Date and Time fields as
xmlserialize problems in direct mode
For demo, PLS create table CREATE TABLE XML_TEST ( ID NUMBER (9,0) NOT NULL, XML_COL XMLTYPE ) / ALTER TABLE XML_TEST ADD ( CONSTRAINT XML_TEST_PK PRIMARY KEY ( ID ) / You don't need any data to reproduce. Create a new 64-bit application and add TOraSession,
Bug UniScript
Attached is a demo project the event cannot continue even using procedure TForm.UniScript1Error(Sender: TObject; E: Exception; SQL: string; var Action: TErrorAction); begin Action := eaContinue; end; This Script can be executed by IBExpert by creating
internalcalc Necessary facilities
I'm using "unidac" comps for "delphi" with "tclientdataset" I want to use "unidac" comps without "tclientdataset" before I was use it with "tclientdataset" and use internalcalc field as in-mem field I was change it whenever i want "Devart" add internalcalc
Assertion failure
Welcome, I am using delphi 10.4 Update 2. with UNIDAC 9.4.0. The component is used in a multi-threaded service. Due to load balancing, this service is running on multiple machines. On one of the application servers (only one), the following error message
ODAC Oracle RAC SCAN direct mode support.
Hello, I was curious of Oracle SCAN name is supported with ODAC and using direct mode. We have an application we are trying to connect to an Oracle cluster using SCAN and it works fine with the Oracle client but not using the SCAN name with direct mode.
Query - ParamByName
Hello. RAD 11.3 / Unidac 9.4.0 / Windows 10 Pro version 22H2 I have problem with ParamByName in Query component. Field in Table is defined as CHAR(1) SQL: Select * from <table> where <field> LIKE '%A%' If the code is Q.SQL.Add('SELECT * from <table> where
Connecting Postgresql with certificate
Hello We need to connect to the Postgresql database with a digital certificate, how do we do it?
UniDac ilink32 warning
Hello. RAD 10.4.2 / Unidac 9.4.0 / Windows 10 Pro version 22H2 I am getting the warning below: [ilink32 Warning] Warning: Duplicate string: ID 102; File C:\PROGRAM FILES (X86)\DEVART\UNIDAC FOR RAD STUDIO 10.4\LIB\WIN32\DBACCESS.RES string kept: "Password";
Parameter.AsString for an integer field results in a "record not found" error
Hi, With Delphi 5 + V6.11.23 of SDAC components + request : select * from TABLE where KEYFIELD = :Key + ParamByName('Key').AsString := '123' with Key integer field evrything works fine with SQL Server 2016 with SQL Server 2008 (or 2012, not sure), error
Closing UniDac VERY slow
I have been using UniDac for years, currently in Delphi XE10.3.2 with Firebird 3 and for one particular UniDac query I have come up with a (to me) strange problem. It is taking about 8 seconds to close. The query is fairly simple (basically just a SELECT
type mismatch for field ‘xxx’ expecting string actual widestring
Hi all, I'm using SDAC 10.3 on Delphi 11.3: I got the above mentioned type mismatch, as I had created my SQL tables with NVarChar, and had persistent fields in my MSTables on the form. I found a description for the problem and a solution on this forum,
How and where do I set UseUnicode in sdac 10.3
Hi All, I have asked this question in a previous topic, but with another angle and more complex description. The simple question is: How and where do I set UseUnicode to False. I'm using SDAC 10.3 in Delphi 11.3 Regards Soren
Automatic choice of provider
Hello, We're wondering about the algorithm that chooses the provider to use to connect to a SQL Server instance when the Provider property is set to prAuto. According to the documentation (and the UniDac's source code), the Native Client is prefered over
Next Page