2004.07.02 MaxDB™ by MySQL 7.5.00.15 Released

2004.07.02 MaxDB? by MySQL 7.5.00.15 Released

http://lists.mysql.com/announce/205

*********************************************

localhost:7210??????????????????????????? by naxin.

*********************************************

First Steps with SAP DB

Setting the environment

  1. Execute the script sapdbenv to set the environment.
    c:/>sapdbenv.cmd

Starting and stopping the database

  1. Is the database running?
    $ dbmcli -d TST -u DBM,DBM db_state
    Output?
    OK
    State
    ONLINE
    ONLINE state:
    (the database is accepting connections)
    OK
    State
    ADMIN
    ADMIN state:
    (the database is accepting only administration requests
    OK
    State
    OFFLINE
    OFFLINE state:
    (the database is not started)
    ERR
    ...
    some error occurred
    (was the dabase name and the user spelled correctly?)

    After installation, the demo database should be in in state WARM.

  2. Stopping the database
    $ dbmcli -d TST -u DBM,DBM db_offline
    Output?
    OKthe database has been stopped
    ERR
    ...
    some error occurred

    All databases should be stopped using this command before a shutdown. Otherwise, loss of data may occurr.

Starting the database
$ dbmcli -d TST -u DBM,DBM db_warm

Output?
OKthe database has been started
ERR
...
some error occurred

?

?

?

?SQLCLI.exe

The SQLCLI is a database tool that enables database users to perform the following tasks:

·??????? Access data

·??????? Access the database catalog

·??????? Make SQL queries

·??????? Create and manage database objects

·??????? Create and manage database users

Syntax

sqlcli [–n ] [-d ] [-u database_user>, ] [sqlcli_command|sql_command]

sqlcli_command

SQLCLI command

sql_command

SQL statement

To get a list of all SQLCLI commands and their options, use the following command:

sqlcli /h

Examples

Querying general information about the database HOTELDB as user MONA with the password RED:

sqlcli –d HOTELDB –u MONA,RED /s

Displaying all data records in the table customer in the database HOTELDB as user MONA with the password RED:

sqlcli -d HOTELDB -u MONA,RED SELECT * FROM customer

评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值