Hi Cetin,
Thank you very much for your help. I try to understand my problem. It looks like it is not possible to use '\\Server\' as address when you try to create the database file. It must be on the form 'C:\' or any other letter if that is available on your server. However, with your help I now succeeded to create the database on our SQL-server. I also added the following to your code for specifying the logfile.
Text to m.lcCreateDB textmerge noshow
Create Database <>
ON PRIMARY (NAME = <>_Data,
FILENAME = '<><>_Data.mdf',
SIZE=5MB,MAXSIZE=100MB,FILEGROWTH=10%)
LOG ON (NAME = <>_Log,
FILENAME = '<><>_Data.ldf',
SIZE=1MB,MAXSIZE=10MB,FILEGROWTH=10%)
ENDTEXT
A last question, which maybe is on a very simple level but for me not, how shall interprete << in your code. This is new for me.
Best regards
Anders
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only