Support the ongoing development of Laravel.io →
posted 10 years ago
Database
Last updated 2 years ago.
0

Solved:

->join('Entradas',function ($join) {
$join->on('Entradas.paci_CodigoNumerico', '=', 'Turnos.paci_CodigoNumerico')
->on('Entradas.medi_Codigo', '=', 'Turnos.medi_Codigo')
->on('Entradas.espe_Codigo', '=', 'Turnos.espe_Codigo')
->on($this->raw('convert(varchar, Entradas.entr_Fecha, 112)'), '=', $this->raw('convert(varchar, Turnos.turn_FechaTurno, 112)'))
->on('Entradas.ubic_Codigo', '=', 'HorarioMedico.ubic_Codigo'), null, null, 'full outer';
                }
Last updated 2 years ago.
0

Why you put 'null' twice at last line instead of 'full outer'?

0

Preprocessing applies transitive closure to join columns for normal equijoins if join transitive closure is enabled at the server or session.http://www.bestchristmasmessages.com/category/christmas-text-messages/

0

Sign in to participate in this thread!

Eventy

Your banner here too?

cheycron cheycron Joined 12 Jun 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.