Hi,
I need to test a column which changed from varchar(30) to varchar(65). I don't have a access to insert a value into that column.Is there any other way so that i can test the column?
Hi,
I need to test a column which changed from varchar(30) to varchar(65). I don't have a access to insert a value into that column.Is there any other way so that i can test the column?
Your best bet is to put together a testing database and make the change there first. Point your application at the test database and see what happens.
DESC TableName
shows the table structure. Isn't that more than an assurance? :-D
Use "desc" in oracle or an equivalent command depending on the database to describe the table. This will list out all the table columns along with their data types.
Sql Server:
To see if the change was applied, use
SELECT * FROM sys.syscolumns WHERE id = OBJECT_ID('TABLE_NAME')
Where the length column should tell you the length of the varchar column in question.