Get Col Names

Post Reply
pete.smith
Posts: 73
Joined: Tue May 17, 2005 2:08 pm

Get Col Names

Post by pete.smith »

Hello

How can I look at the col names in a table? In particular, we are trying to get counts of files in the html table ( I think I Want that one) of each directory, like mysite.com/thisdir . I get strange results if I do the like %/thisdir% on the Url field.
User avatar
John
Site Admin
Posts: 2622
Joined: Mon Apr 24, 2000 3:18 pm
Location: Cleveland, OH
Contact:

Get Col Names

Post by John »

You can select from SYSCOLUMNS to get column names.

That isn't the right syntax for LIKE though as it takes a metamorph query. You might want

Url like 'thisdir'
or
Url matches 'http://mysite.com/thisdir%'
John Turnbull
Thunderstone Software
Post Reply