VersionDB FILE,DRIVER('MSSQL','/BUSYHANDLING=2 /VERIFYVIASELECT=TRUE'),OWNER(glo:Connect),NAME('dbo.VersionDB'),PRE(VDB),BINDABLE,THREAD !
VDB KEY(VDB:VDBnro),NAME('VDB_VDB'),PRIMARY !
Ver KEY(VDB:Version),NAME('VDB_Ver') !
Record RECORD,PRE()
VDBnro LONG,NAME('"VDB_VDBnro"') !
Version CSTRING(11),NAME('"VDB_Version"') !
END
END
and then glo:Connect = '127.0.0.1,test,sa,sa'
Now I don’t seem to find a way to connect to db which has non default port like 14330 instead of 1433.
I have tried that and it doesn’t work. I just get:
ConnectSQL,Connection to SQL server failed! Error:||(08001) SQL Server does not exist or access denied.
Most of the AI’s suggest that I should use glo:Connect = '127.0.0.1,14330,test,sa,sa' but doesn’t work either.
The documentation doesn’t mention anything about the port just the server:
The OWNER attribute for MSSQL takes the format:
server,<database>,<uid>,<pwd><;LANGUAGE=language><;APP=name><;WSID=name>
LANGUAGE
The language used by MSSQL Server.
APP
The name of the application.
WSID
The workstation ID. Typically, this is the network name of the computer on which the application resides.
See your MSSQL Server documentation for information on these settings.