[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details

create a new database //  ZEOS & MSSQL

Asked by BdLm in Delphi Database

found the so9lution below to create a Direbird database at run time, how look the solution for MSSQL ?  (ZEOS + MSSQL)
1:
2:
3:
4:
5:
6:
7:
8:
ZConnection1.Database := 'd:\db1.fdb';
   ZConnection1.Protocol := 'firebird-1.5';
   ZConnection1.Properties.Add ('CreateNewDatabase=CREATE DATABASE ' +
      QuotedStr ('d:\db1.fdb') + ' USER ' +
      QuotedStr ('sysdba') + ' PASSWORD ' + QuotedStr ('masterkey') +
      ' PAGE_SIZE 4096 DEFAULT CHARACTER SET ISO8859_1');
   ZConnection1.Connect;
   :
 
Related Solutions
Keywords: create a new database // ZEOS & …
 
Loading Advertisement...
 
[+][-]10/24/09 02:41 PM, ID: 25654502Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10/24/09 03:30 PM, ID: 25654677Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10/24/09 03:31 PM, ID: 25654683Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10/24/09 03:32 PM, ID: 25654689Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091111-EE-VQP-89 - Hierarchy / EE_QW_3_20080625