I have the following query,
SELECT MAX(DATALENGTH([Members Present])) AS MembersPresentLenMax
FROM tblIPPCore2
In the tblIPPCore2 table, there are 20 or 30 ntext fields, I need to find the maximum length so that I can restructure the table.
I would like to find out if it is possible to create a script that will run this query, but replace the column name and alias name with column names from the table.
Is this possible?
Thanks in Advance,
Drew
SELECT MAX(DATALENGTH([Members Present])) AS MembersPresentLenMax
FROM tblIPPCore2
In the tblIPPCore2 table, there are 20 or 30 ntext fields, I need to find the maximum length so that I can restructure the table.
I would like to find out if it is possible to create a script that will run this query, but replace the column name and alias name with column names from the table.
Is this possible?
Thanks in Advance,
Drew