Baza SQL jest zainstalowana na serwerze, chciałbym uruchomić skrypt z innego komputera sieci lokalnej. Jak to zrobić?
Skrypt.cmd:
skrypt.sql:
Skrypt.cmd:
sqlcmd -S IP_SERWERA\INSTANCJA -d BAZA -i "C:\Users\Seba\Desktop\skrypt.sql"skrypt.sql:


























link do dokumentacji: http://doctrine-orm.readthedocs.org/projects/doctrine-orm/en/latest/reference/association-mapping.html#one-to-many-self-referencing
mój kod: http://pastebin.com/45Y5gbpf
to zwraca w polu children: http://pastebin.com/J1kZANgd
\Doctrine\Common\Util\Debug::dump( $task->getChildren() );
$em = $this->getDoctrine()->getManager();$tasks = $em->getRepository('AppBundle:Task')->find(1);
echo