[QGIS-Developer] substr expression 1-based? Others too?

Nathan Woodrow madmanwoo at gmail.com
Tue May 9 01:31:07 PDT 2017


We model it of SQL because it's closer to that then programming languages.

On Tue, 9 May 2017, 12:42 AM Richard Duivenvoorde <rdmailings at duif.net>
wrote:

> On 08-05-17 15:39, Nathan Woodrow wrote:
> > Hey,
> >
> > Postgres, SQL Server, etc are all 1 based. Hence the alignment with that
> > logic.
>
> Prr... you are right. Strange... apparently never used it in Postgres...
>
> But, but... in all programming languages I know...  never mind, I'll
> manage :-)
>
> Regards,
>
> Richard
>
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20170509/13e5767b/attachment.html>


More information about the QGIS-Developer mailing list