[Info-vax] Rdb question

Arne Vajhøj arne at vajhoej.dk
Thu Jul 21 20:14:35 EDT 2022


On 7/21/2022 7:29 PM, Arne Vajhøj wrote:
> I am not good at Rdb.
> 
> CONNECT TO 'ATTACH FILENAME disk4:[rdb]test'
> 
> should connect to that database.
> 
> But it fails with alias already in use.
> 
> CONNECT TO 'ATTACH ALIAS test FILENAME disk4:[rdb]test'
> 
> works fine, but I have to prefix all table names with "test." and
> I do not like that.
> 
> What is the correct syntax for:
> 
> CONNECT TO 'ATTACH JUSTOVERWRITETHEDEFAULTALIAS FILENAME disk4:[rdb]test'
> 
> ?

Now I have come up with:

CONNECT TO 'ATTACH ALIAS test FILENAME disk4:[rdb]test
SET ALIAS 'test'

Is that the best?

Arne





More information about the Info-vax mailing list