Discussions tagged SQL Server

Hello all, I'm a longtime (more than 22+ years) PowerBuilder developer. We have upgraded to PowerBuilder 2017 R2 through Appeon. I have a question about the support for “Impersonation” using a different Windows AD System account after logging into ...
because of the need to disable TLS 1.0, i'm moving to the latest sql driver that supports tls 1.2 (unless anyone has better suggestions) SQLCA.DBParm = "ConnectString='DSN=" + ls_dsn + ";UID=" + sle_userid.text + ";PWD=" + ls_password +"',DelimitIde...
I have just changed our application to use a DSN-less connection to ODBC, and I am struggling with how to trap an incorrect password condition.  Previously (our current production code), we had an OLE DB connection.  We have a login screen, and if th...
Hi All, We have just realized that the Native SQL Server driver in Powerbuilder has Multiple Active Result Sets (MARS) enabled by default.  We haven't really noticed any issue except that every time the application connects, it uses 2 connections.  ...
Hello I'm migrating a PB2017 application to support datatype from CHAR to NCHAR and I have problems using SNC connection migrating from  PB 6.5 and Native MS SQL driver. This is the connection string: SQLCA.DBMS = "SNC SQL Native Client(OLE DB)"SQL...
I need the ODBC Driver for SQL Server so I can use encryption TLS 1.2.  I've encountered two problems with inserting and updating datawindows.  I have tables and columns where there is a column on a table that cannot be null but has a database defau...
Dear supporter:        As we deploy Powerbuilder application with SNC connection for SQLSERVER2017, few PC encountered error message below to indicated that the SNC not connected, as we download and installed SQLserver SNC driver 2008, and deploy t...
Hi, I'm having an issue uploading a image Blobs to a MS SQL Server and can't figure out where I'm going wrong (Using Powerbuilder 2017 R3, both in Desktop App and Appeon Mobile). The Upload Blob is working and creating the database records but it l...
Hi, How are people copying files (images or other files) from Appeon Mobile apps to their server? I am trying trying to use UPDATEBLOB to store the image in the database but the below code is throwing the following error: "Error Code: 10999. Object...
Hi everyone,After almost 20 years we've decided to migrate all our applications from ASE to MS SQL Server.  We've been able to use SQL Server Migration Assistant to migrate the database and I'm looking at updating my Powerbuilder code to work with SQ...
Using MS SQL SERVERif in the SQL of the Datawindow there is a comment then when the retrieve() will not work and no error dysplay will be great if in the log after the deploy of the application is a warning  ...
How to retrieve datawindow in PowerServer Web? Below are my configuration: **Open event script of my window  if AppeonGetClientType() = 'PB' thenSQLCA.DBMS = "ODBC"SQLCA.AutoCommit = FalseSQLCA.DBParm = "ConnectString='DSN=PB Demo DB V2017R2 Unico...
DB Connection Issues w/ Mobile deploy w/ Native Microsoft SQL Server  Summary Have not been able to deploy as mobile application and go beyond the database connection. Have tried using native and ODBC and have failed numerous times. PB2017 Help con...
Hello, I am getting this error while I am trying to run the powerbuilder(Version 12.5) application. I make sure the data source name,user name and password is correct. But still I am getting this error. FYI - My SQL authentication mode is SQL and W...
I am creating a new datawindow using a SQL Select. Because of some limitations in SQLServer, I need start with a WITH  (Common Table Expression) I can't seem to get PowerBuilder to understand the result set and get no columns (Or PB Crash)   PB12.6...
We are connecting to SQL Server using ODBC Driver 11. Any embedded SQL using SELECTBLOB or UPDATEBLOB truncates data at 32K, which is the default for a SQL Server driver. I have been unable to modify the default size to 1 GB, either by setting PBM...
We are just converting our application from Oracle to SQL Server. When running stored procedures, sometimes running them twice in a row generates the "Procedure has already been executed" error and sometimes in doesn't. We are not closing t...
My app is running on SQL Server 2016 and PB 12.5. AutoCommit is set to False. I want to run a stored procedure that does some updates so I need to do a commit after. I also want any updates that were pending before the stored procedure was called ...
Microsoft says it no longer supports SQL Server Native Client and they didn't provide a new version with SQL Server 2016. I am wondering what the future is for connecting to SQL Server. I have PB 12.5.2 and SQL Server 2016. I am using an OD...
Any issues with BLOB or CLOB columns? Thanks, Brian Prom ...
  • Page :
  • 1