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

whatever differences there might be for variables between different connections

well that's why I'm asking. Can the connections be different if those 2 lines are next to each other?

Why not build your parameterised query in PHP rather than use SQL variables?

because my actual case is more complex and can't be done in php. In first line my @foo variable is assigned to a result of SQL expression and not to constant.

0

I'm using only MySQL

0

Sorry but it looks like you didn't understand my question

0

Sign in to participate in this thread!

Eventy

Your banner here too?

poma poma Joined 24 Jul 2015

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.