박승홍님!
대단히 감사합니다.
근데 제가 쓰고 있는 mysql에서는 source (\)라는 명령어가 없어요.
다른 명령은 대부분 다 있는데요 ...
그래서 그런지 \ 명령어가 안먹어요.
다른 방법은 없나요?
한번 보세요
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 verticall
y
print (\) Print current command
quit (\) Quit mysql
rehash (\) Rebuild completion hash
status (\) Get status information from the server
use (\) Use another database. Takes database name as argument
ㅠ.ㅠ
=====================================================================
> 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 화일들을 사용할려면 어떤 함수를 사용하나요??
> >
> >
> >
|