如何删除名称中有额外空格的架构?列出模式时,它显示为BABBLER GROUP
。但是当尝试使用sys as sysdba
放弃(drop user BABBLER GROUP CASCADE;
)时,它会显示错误。
答案 0 :(得分:3)
使用引号;例如SQL Plus
对于名称中有空格的任何对象都是如此。
注意:每次通知:https://stackoverflow.com/a/13798120/361842
有些工具与此功能不兼容; <?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateOrdersTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('orders', function (Blueprint $table) {
$table->increments('id');
$table->decimal('subtotal', 5, 2);
$table->decimal('shipping', 5,2);
$table->text('method');
$table->text('status');
$table->text('order_code');
$table->text('fullname_ship');
$table->text('address_ship');
$table->text('app_ship');
$table->text('province_ship');
$table->text('country_ship');
$table->text('email_ship');
$table->text('phone_ship');
$table->text('fullname_bill');
$table->text('address_bill');
$table->text('app_bill');
$table->text('province_bill');
$table->text('country_bill');
$table->text('email_bill');
$table->text('phone_bill');
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::drop('orders');
}
}
应该是。
此处的Oracle文档:https://docs.oracle.com/cd/B19306_01/server.102/b14200/sql_elements008.htm