Viewing a single comment thread. View all comments

gt_ap t1_itrdgjk wrote

> len(string)

As a DBA (T-SQL), I have to modify this a bit to correct the syntax:

select len('string') as 'Length of String'

4

cfdeveloper t1_ittgs54 wrote

>as 'Length of String'

it bothers me to see spaces in there

edit: it really bothers me. I would consider caning of this offense.

2

gt_ap t1_itthfyq wrote

Username checks out. lol

Actually, it depends on the application, but I'll sometimes do something like "as 'LengthOfString'" or "as 'Length_of_String'".

1