Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

problems creating a database

Status
Not open for further replies.

vfpgolfer

Programmer
Oct 16, 2004
76
US
I installed mssql, but when I try to create a database - see code below - it errors out - any suggestions - setup? I set securitymode=sql



Handle = SQLStringConnect ( ;
"driver={SQL Server};server=RICK;database=Master;pwd=esilaw;uid=;")

WAIT WINDOW STR(handle)
Result = SQLExec ( Handle, "CREATE DATABASE ESIMIKE10" )
WAIT WINDOW STR(Result)

SQLDisconnect(0)
 
What error message are you getting? I see that you don't have a username in the connection string.

Denny

--Anything is possible. All it takes is a little research. (Me)

[noevil]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top