>Dear all,
>if there is a possibility to create a table within a specific Microsoft sql database though visual foxpro code without using the enterprise manager or query analyzer.
>thank you very much
You can send CREATE TABLE statement or any other script using SPT to SQL Server if your login has sufficient rights.
lnResult = SQLEXEC(lnConn, lcSqlScript)
--sb--