List of available databases from VConnection

Bart Pietercil bart.pietercil at cognosis.be
Tue Mar 22 03:50:45 CDT 2011


select * from (show databases) where fld_name <> 'master.vdb';


hth,

Bart Pietercil
CTO Cognosis NV

On 22 Mar 2011, at 09:18, Harald Schlager wrote:

> Hi all!
>  
> If i connect via hostname:port to a valentina database server how can I get a list of databases via RB-code ?
>  
>     Valentina.Init(val(initCache) * 1024 * 1024)
>     Valentina.DebugLevel = dbdebugLevel
>    
>     vcon = new VConnection( inHost, User, Pass, val(inPort), val(inTimeout), inOptions)
>     try
>       vcon.Open()
>     Catch
>       fun.Log("Connect to Valentina Database Server " + inhost + ":" + inPort + " failed ! Try to Start DB-Server !")
>       return false
>     end try
>    
> Thank you in advance,
>  
> Harald
> _______________________________________________
> Valentina mailing list
> Valentina at lists.macserve.net
> http://lists.macserve.net/mailman/listinfo/valentina

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macserve.net/pipermail/valentina/attachments/20110322/3383a91a/attachment.htm>


More information about the Valentina mailing list