Discussions tagged SQL
Adding alias to column gives ORA- 00920 when using query mode with Oracle
- Issue
- Last updated 7 months ago
- Chris Pollach @Appeon replied 7 months ago
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...
Events in a transaction object (n_tr) like retrievestart/-end for logging purposes.
- How-to
- Last updated 10 months ago
- Olaf Bönning replied 9 months ago
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...
Enhancement request: modify SQLSyntax in transactions SQLPreview event
- Resolved
- Misc
- Last updated 1 year ago
- René Ullrich replied 1 year ago
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 (...
.Net DataStore support for Updating SQL Server Views
- How-to
- Last updated 1 year ago
- Logan Liu @Appeon replied 1 year ago
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?...
How to use SetSqlSelect on a report using SnapDevelop
- How-to
- Last updated 2 years ago
- Olan Knight replied 2 years ago
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...
Increase column sizes on hundreds of datawindows
- Advice
- Last updated 2 years ago
- mike S replied 2 years ago
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...
Error -15448 return from Retrieve() called on created DataStore
- Resolved
- Issue
- Last updated 2 years ago
- Daniel Vivier replied 2 years ago
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 ...
SQL query builder software - SQL Anywhere 16
- Advice
- Last updated 2 years ago
- Adolfo Chairez Gallegos replied 2 years ago
Hi,
I am just after some advice - what SQL query builder would you all recommend , that works with SQL Anywhere 16 ?
regards
Andrew
...
MSSQL temporary tables (#) creation (AZURE) from Powerbuilder Web
- Misc
- Last updated 3 years ago
- Pierre Rene replied 3 years ago
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...
SnapObjects Oracle Model Binding
- Issue
- Last updated 4 years ago
- Logan Liu @Appeon replied 4 years ago
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...
How to Make SnapObject 2.0 Use run the query from DwSelectAttribute
- Resolved
- How-to
- Last updated 4 years ago
- Gbenga Owolabi replied 4 years ago
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 List<D_Rpt_Mm_Tbills> Test(param...
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...
Database update not set in dynamic DW with SQLServer Express
- Resolved
- Issue
- Last updated 4 years ago
- Chris Pollach @Appeon replied 4 years ago
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_...
Powerbuilder 6.5 not able to connect SQL 2008 R2 after disabling TLS1.0
- Issue
- Last updated 4 years ago
- Michael Kramer replied 4 years ago
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...
GetItemNumber returns negative value which is not in the actual resultset
- Resolved
- How-to
- Last updated 6 years ago
- Bhanu Prakash replied 6 years ago
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...
Commit transaction error
- Resolved
- Issue
- Last updated 6 years ago
- Appeon Support Team replied 6 years ago
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 can't find it anywhere.
...
- Page :
- 1