Returned whether the specified connect object is read only or whether the given column is read-only for the specified result set meta data.
Syntax
isReadOnly( connection )
connection.isReadOnly( )
isReadOnly( resultsetmetadata , index )
resultsetmetadata.isReadOnly( index )
Parameters
connection
|
the connection object to check.
|
resultsetmetadata
|
the result set meta data object to check.
|
index
|
the index of the column.
|
Returns
boolean
|
true if the connection or given column is read-only.
false if the connection or given column is not read-only.
|
Example
if rsmd.isReadOnly( 1 ) then
break
end
|