Viewing 6 posts - 1 through 6 (of 6 total)
Double damn, so much for the "Preview" button!!
That should be two right brackets in the code.
August 2, 2007 at 11:17 pm
Damn those 'faces"!!!
Try;
SELECT CONVERT (CHAR(2), left( '00', 2-len(<column name> ) + CONVERT(CHAR(2), <column name> )
FROM ....
Replace <column name>...
August 2, 2007 at 11:14 pm
Try;
SELECT CONVERT (CHAR(2), left( '00', 2-len(<column name>) + CONVERT(CHAR(2), <column name>)
FROM ....
Replace <column name> with the name of...
August 2, 2007 at 11:12 pm
Hi Mark,
Perhaps something along the lines of this would do the trick (you should double check it!);
select TABLE_CATALOG, TABLE_SCHEMA, TABLE_NAME, COLUMN_NAME, DATA_TYPE,
'SIZE/PRECISION'= CASE DATA_TYPE
WHEN 'char' then CHARACTER_MAXIMUM_LENGTH
WHEN 'varchar'...
May 30, 2007 at 11:56 pm
Sorry, I left out the link from the previous post;
http://www.databasejournal.com/article.php/3300441
May 15, 2007 at 11:50 pm
Check out the "Data partitioning in SQL Server 2005" articles by "the MAK". One of them cover partitioning an existing table.
Alternately check the TSQL "DROP INDEX" command "WITH MOVE"...
May 15, 2007 at 11:42 pm
Viewing 6 posts - 1 through 6 (of 6 total)