Discussions tagged SQL

When querying using query mode when connected to Oracle 19c, and the column being queried has an alias, the oracle statement looks like this. (AND table.column aliase = 'Input data' ) Example:  In the select part: COMPANY.STATUS COMPANY_STATUS P...
I like to log the begin and the end of an SQL statement because i like to measure the time the SELECT needed. In datawindows i have the retrievestart and retrieveend events where i can exactly do what i wish to do. In embedded SQL i use SQLCA which...
Hi all, have a happy new year! I could not find another way to post an enhancement request for future PB versions, so I'll leave it here. If there is a better way to do so, please let me know. We develop and maintain a quite large c/s application (...
Does the .Net DataStore product support generating a C# .Net DataStore API service from a SQL Server View DataWindow Object DataSource that will update the SQL Server View?...
We are migrating an existing PowerBuilder application to make use of SnapDevelop to handle the datawindow calls.  Our system has a reporting area, where we give the user a selection of criteria they can use to customize the report.  As the current sy...
Greetings community,   In the past few months, our company migrated multiple applications from Powerbuilder 9 to Powerbuilder 2019. We did encounter something interesting: for varchar(max) and text column types, on our MSSQL database, all datawind...
This is in PB2019 Build 2082, using the Firebird SQL Database. We have one user’s database from our application that is behaving extremely strangely for certain SQL retrieved through a datastore created at runtime (actually, our inherited datastore ...
Hi, I am just after some advice - what SQL query builder would you all recommend , that works with SQL Anywhere 16 ? regards Andrew  ...
Hi there, Powerbuilder 12.5 classic application has no issues creating temporary tables in an Azure MSSQL database (account dbo user) but for some unknown reason... a deployed web application from PB 12.5 using the same connection parameters (user n...
Hello, is there a way to influence the binding process between SnapObjects and a database (specifically Oracle) yet? The issue we're facing is that when reading from an Column that has the type NUMBER, SnapObjects requires the property in the C# Mo...
I have been on this for days. Please help with the snapobject v.2.0 usage below. How do i make snapobject to run the multi-table sql query defined in DwSelectAttribute on the D_Rpt_Mm_Tbills poco class public ListD_Rpt_Mm_Tbills Test(params object...
Hi I do hope everyone is well. I am trying to do an insert into sql statement within powerbuilder script. PB2019   I want to copy all the record from sales to sales_history - sales_history has all the fields of sales but in addition a archive_yea...
The code bellow works fine in SQLAnywhere and SQLServer 12 but fails on SQLServer Express 10.50.6000. The result dw does not have the update property set and the key attribute in not set on the primary key fields. ls_sql = "SELECT * FROM CMF " ls_...
Hi, We are using PB 6.5 version, which uses ntwdblib.dll for DB connection, We are suing SQL server 2008 R2. recently TLS1.0 on the SQL server is disabled. Which result in we are not able to access DB from PB. Everytime when application is try to op...
Dear Appeon Community, I need information, restrictions, limitations that we should consider regarding an application developed in Powerbuilder 2017 can connect to databases in the cloud (SQL as a Service). This application will be hosted on Windows...
Hello, for simple SQL Parsing we have been using the PFC SQL Parser (pfc_n_cst_sql). Now we switched from Oracle Join Syntax (+) to ANSI Join Syntax (left outer join...). Is there already a parser that can handle this (preferably in Powerscript)? ...
Hello, is there a tool to check the sql in all Datawindows in a workspace against the database? We are migrating a huge project from Oracle to Postgres (sql join syntax has changed from (+) to "left outer join"). In some of the existing Datawindows...
Thanks for the people who helped me to get the issue resolved for my previous post.   INTEGER ll_certificate_id lds_data = Create DataStore lds_data.dataobject = 'd_revoke_certificate_hhg'lds_data.SetTransObject(SQLCA) ll_total_rows = lds_data.R...
I am using PB 2017 R2 and SQL Server 2017.  The following test code works when running on a desktop.  When running on a mobile device (iPad) I get error "The COMMIT TRANSACTION request has no corresponding BEGIN TRANSACTION."-------------------------...
How can I distribute the free SQL Anywhere with my PB app. I used to use dbeng50.exe but it has gotten buggy in Windows 10. I have read that you cant use dbeng* and need to use rteng* but I cant find it anywhere. ...

Find Questions by Tag

.EXE .NET 6.0 .NET Assembly .NET Core 3.1 .NET Core Framework .NET DataStore .NET Std Framework 32-bit 64-bit ADO.NET AEM AI Algorithm Amazon AWS Android Apache API APK App Store App Store (Apple) Appeon Workspace Appeon Xcelerator Plug-in Architecture Array ASE Asynchronous Methods Authentication AutoBuild AutoCompiler Automated Testing Automation AutoScript Azure Barcode Base64 Batch BigData BLOB Branch & Merge Browser Bug Build Button C# C# Class Importer C# Editor C# Model generator Calendar Camera Certificate Chrome Citrix Class Client Client/Server Cloud Cluster Collection COM Command Line Compiler Compression Computed Field Configuration Controls Cookies Cordova Crash Cross-Platform Crosstab CSharpAssembly CSharpObject CSS CSV Cursor Data Database Database Driver Database Painter Database Profile Database Provider DataObject DataSource DataStore DataStore (C#) DataStore (PS) DataType DataWindow DATE DATETIME DB2 Debug Debugger Debugging Deployment Design DLL DO-WHILE Dockable Docker Documentation DOUBLE Download DragDrop Edge Edit Style Editor Elevate Conference Email Embedded SQL Emulator Encoding Encryption Enhancement Request Entity Entity Framework ERP Error Event Event Handler Event Handling Excel Exception Export Expression External Functions F# Field File File Access Filter Firefox Firewall Font FOR-NEXT Foreground Format Function Garbage Collection GeoLocation Git Graph HANA Hash Header HTML/5 HTTP/S HTTPClient Icon IDE Identity IIS IMAPI Import InfoMaker Inheritance Installation Integer IntelliSense Interface Internet Internet Explorer iOS IPA iPad iPhone IWA J# Java JavaScript JBoss JDBC JOIN JSON JSONGenerator JSONParser Kestrel Label Lambda Large File LDAP Library License LINQ Linux OS Load Balancing Localization Localized PBVM Log In Log Out Logging LONG LONGLONG macOS MAPI Maps MDI Memory Memory Leak Menu Merge MessageBox Messagging Method Migration MIME TYPE Mobile Model ModelStore ModelStore (C#) MSOLEDBSQL Multi Threading MVC MySQL n-Tier Namespace NativePDF NVO OAuth ODATA ODBC Office Offline OLE OLEDB Online Open Source OpenAPI OpenSSL Oracle OrcaScript Other Outlook Output Package Parameter Patch PayPal PB Classic PB Native PB.NET PBC PBD PBDOM PBG PBJVM PBL PBNI PBORCA PBVM PBX PDF Performance Permission PFC Picture Pipeline Play Store (Google) Plugin Popup Port POST PostgreSQL PowerBuilder PowerBuilder (Appeon) PowerBuilder (SAP) PowerBuilder Compiler PowerBuilder Runtime PowerClient PowerScript (PS) PowerScript IDE PowerScript Migrator PowerServer PowerServer Mobile PowerServer Toolkit PowerServer Web PowerServerLabel Print Properties Proxy Publish PULL PUSH Query Regression Release Renew Resize Response REST Retrieve RibbonBar RibbonBar Builder Rich Text Roadmap RPC Runtime Packager SaaS Scaffolding Script SDI SDK Security Server Service Session Single Sign-on Size SMTP SMTPClient SnapDevelop SOAP Sort Source Code Speech Recognition SQL SQL Anywhere SQL Server SqlBuilder SqlExecutor SQLite SqlModelMapper Storage Stored Procedure Subscription SVN Swagger Syntax TabbedBar TabbedView Tablet TabPage Target TE Control Testing Text TFS Theme TIME Timer TLS/SSL Tomcat TortoiseGit TortoiseSVN Transaction Transparency Trial Trigger TRY-CATCH TX Control Type UI ULONG UltraLite Uninstall Unit Test Unit Testing UNIX OS Update Upgrade Upload URL User Center User Object UWP Validation VARCHAR Variable Versioning Visual Studio Visual Studio Code VM Voice Warning WCF Web API Web Extensions Web Service WebBrowser WebForms WebLogic WebSphere WildFly WinAPI Window Windows OS WinForms Wizard Workgroup Workspace WPF XCODE XHTML XML Zoom