Quantcast
Channel: dBforums – Everything on Databases, Design, Developers and Administrators
Viewing all articles
Browse latest Browse all 13329

substring a column in a view?

$
0
0
Hi all,

perhaps a very triviel question but nethertheless I´m stuck on it. I want to create a view where one of the columns ('branche' a integer) is reduced so its only the first two numbers showing. How to do that?

I was think something like select branche as substr(branche from 1 for 2) but that dosen´t seem to work.

Christian

Viewing all articles
Browse latest Browse all 13329

Trending Articles