This example shows a contiguous block of the noncomment lines in the
001_SMP3_drop_and_create_user.DDL file for
ASE is shown below. Replace:
- smp3 with the new database name.
- gomobile with the new database user name.
Be sure to:
- Refer to your database documentation for limitations on
length and allowable characters for these parameters.
- Replace all instances of each default text string in the
001_SMP3_drop_and_create_user.DDL
script with the same value.
- Make note of the changes you make. You will need to enter
the changed values during SAP Mobile Platform Server
installation.
Replace highlighted items below as needed to implement the changes
you wish to make.
...
CREATE DATABASE smp3 AUTOMATIC STORAGE YES USINGCODESET UTF-8 TERRITORY US
COLLATE USING SYSTEM PAGESIZE 32 K;
CONNECT TO smp3;
CREATE SCHEMA gomobile AUTHORIZATION gomobile;
CREATE ROLE SY365_OBJOWNER;
GRANT CREATEIN ON SCHEMA smp3 TO SY365_OBJOWNER;
GRANT SY365_OBJOWNER TO USER gomobile;
...
Note: You create the DB2 user name and set the password at the operating
system level and, by convention, DB2 uses the same name for the
schema. The default
001_SMP3_drop_and_create_user.DDL file
assumes that "gomobile" is the user name created for DB2.