Hi, I would be appreciated to who coud answer my question. I'm doing a project which writes in java to run MSSQL. Now i try to pass in a command to export all the data from a database out. Can someone show me the command for it?

2. The project can run only by local computer. Can you show me the code how I can connect to MSSQL by network (like connect by given a ip, servername, username, pass)