Similar to the Web server, the built-in SQL server in 4D v11 SQL can be enabled in a variety of ways:
Automatically launch SQL server at startup:
-Go to the preferences.
-Select the theme SQL.
-Enable the checkbox "Launch SQL Server at Startup".
The next time 4D starts, the SQL server will be running.
Manually in the Design environment:
-Select "Start SQL Server" item from the Run menu.
Programmatically starting the server:
-Execute the command START SQL SERVER in your method.