views:

38

answers:

1

I'm trying this as part of a big query:

(CONVERT(varchar(20), AZ_DTA_APP_AGE, 103) + ' ' + (CONVERT(varchar(20), AZ_DTA_APP_AGE, 108)) AS AZ_DTA_APP_AGE

Why it doesn't work?

I get:

Syntax error near keyword 'AS'

+7  A: 

The 1st convert is missing a ')'

(CONVERT(varchar(20), AZ_DTA_APP_AGE, 103)) + ' ' + (CONVERT(varchar(20), AZ_DTA_APP_AGE, 108)) AS AZ_DTA_APP_AGE`
Ed B
Thank you, I lost my focus over something really stupid.. :-(
0plus1