SqlBase API Functions

forum.sourcecode (2000-2005) & forum.td.sourcecode (2005-2010)
NewsgroupServer
Robot
Robot
Posts: 115421
Joined: 24 Feb 2017, 12:00
Location: World wide

SqlBase API Functions

Post by NewsgroupServer » 25 Apr 2008, 15:51

 Posted by:  F R Bhote 

I just saw a mail on the Unify forum where someone wanted to unload and load
a table witout using Sqltalk. As I can never log into those forums - it says
all my ids / passwords are wrong - and I much prefer this forum, I am
attaching a small program that does this.

It also has functions to create a new database with the same schema (I have
done it for one table in the ISLAND database).

As I have all sorts of SB 11 client stuff installed on my PC, I cannot
really test it - SB 11 gives all sorts of funny errors when on SB < 9.x
works fine. So if there are any goof ups, my apologies. And if anyone can
figure out why these ridiculous errors come on SB 11 I would be grateful for
the information.

Don't want to put too much in, so I have not added functions like
Rollforward ( to end / end ) but it is quite simple and the functions are
defined too - something like:

sqlcsv( nServer, sServerName, '' ) ! Connect server

sqlind( nServer, sDB, 0 ) ! Install database

sqlrof( nServer, sDB, 0, 1, 0, 0 ) ! Rollforward BEGIN

sqlrlf(nServer, sDB, 0, sLogPath, 0, TRUE, TRUE ) ! Restore logs /
Rollforward to end

sqlenr(nServer,sDB,0) ! Rollforward END

Attachment: SqlApi.zip

NewsgroupServer
Robot
Robot
Posts: 115421
Joined: 24 Feb 2017, 12:00
Location: World wide

SqlBase API Functions

Post by NewsgroupServer » 03 Nov 2009, 11:48

 Posted by:  KC Li 

Hi,

Is it possible to do 'Reorganize', as in Sqltalk

Thanks in advance

KC

NewsgroupServer
Robot
Robot
Posts: 115421
Joined: 24 Feb 2017, 12:00
Location: World wide

SqlBase API Functions

Post by NewsgroupServer » 16 Nov 2009, 15:51

 Posted by:  Cheung Li 

Hi,

Have look in the Unify tech. support :

http://support.guptatechnologies.com/supportforum/viewtopic.php?f=38&t=3668

Cheers

Return to “td.sourcecode”

Who is online

Users browsing this forum: [Ccbot] and 0 guests