mysql>\ //를 한번 해보세요.
==============================================================
MySQL commands:
help (\) Display this text
? (\) Synonym for `help'
clear (\) Clear command
connect () Reconnect to the server. Optional arguments are db and host
edit (\) Edit command with $EDITOR
exit (\) Exit mysql. Same as quit
go (\) Send command to mysql server
ego (\) Send command to mysql server; Display result vertically
print (\) Print current command
quit (\) Quit mysql
rehash (\) Rebuild completion hash
source (\) Execute a SQL script file. Takes a file name as an argument
status (\) Get status information from the server
use (\) Use another database. Takes database name as argument
==========================================================================
위와 같이 나오죠 . 위에서 \ 이 바로 sql 명령이 들어있는 파일을
바로 실행 시키는 명령이지요.
msyql>\ test.sql //예
하시면 test.sql 안의 sql 명령들이 실행됩니다..
그럼 도움이 되었기를...
> 아시는분 도와주세요!!
>
> db에 들어갈 내용들을 ***.sql에다 저장하고서 oracle에서
> > start ***.sql 혹은
> > @ ***.sql을 사용하면 그 내용들은 사용할수가 있는걸로 알고있는데요
>
> 지금 php + apache + mysql을 사용하고 있고 오라클이 아닌 mysql을 사용하여 ***. sql 과 그외 ***.ls
> t 화일들을 사용할려면 어떤 함수를 사용하나요??
>
>
>
|