문제

I need to delete my schema when i created during table creation but i no need to disturb tables inside that schema so please suggest me to delete my schema without deleting tables present inside that schema.

도움이 되었습니까?

해결책

In Mysql a schema is the same as a database. Removing the schema removes the database, and also your objects (ie tables)

다른 팁

you can not delete schema without deleting underlying tables, because schema is logical container which holds database objects like table, procedure etc..

you want to do like: breaking the glass(filled with water) without flowing water, which is impossible,

best practice for your problem would be RENAME your schema. so it feels like schema is no longer available, but you can access it via different name.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top