You are currently browsing all posts tagged with SQL Anywhere

Update Columns in Database

Posted on January 28, 2011 at 8:20 pm in

It’s pretty common to want to update a column (or several columns) in one table with the value(s) from another table. Here is how to do it: UPDATE Table SET Table.col1 = other_table.col1, Table.col2 = other_table.col2 FROM Table INNER JOIN other_table ON Table.id = other_table.id WHERE … The structure of this syntax is always something…

Update Columns in Database - the full story »

Comment on Update Columns in Database »

Powerbuilder ‘Gotcha’ – Quoted Identifiers

Posted on September 21, 2010 at 8:20 pm in

Be careful when developing against any database which supports quoted identifiers (I know, who doesn’t)? Anyway it is real easy to forget and ‘turn off’ this option on your local db (or your development connection) and end up releasing a bug by a simple SQL alteration like this: –Original SQL SELECT partNo , partDesc FROM…

Powerbuilder ‘Gotcha’ – Quoted Identifiers - the full story »

Comment on Powerbuilder ‘Gotcha’ – Quoted Identifiers »

Powerbuilder – Single user sign on verification

Posted on July 7, 2010 at 8:17 pm in

This method is used with a SQL Anywhere database to ensure that any given user can only sign on the application once. It uses the connection_property function so make sure you either give the users permission to execute this or set up a separate connection which uses an id which has the permissions. There are…

Powerbuilder – Single user sign on verification - the full story »

Comment on Powerbuilder – Single user sign on verification »

Top