Hi All,
We are using ExecuteReader method of the SQlCommand object with the option of CommandBehavior.SchemaOnly. It works perfectly fine to get the schema of the columns in the resultset.
I am facing problem in fetching schema information of the temp tables(Created using #temp syntax). It gives error message that "incorrect syntax near #temp".
Can anybody throw light on this particular error?
Thanks
Varsha
We are using ExecuteReader method of the SQlCommand object with the option of CommandBehavior.SchemaOnly. It works perfectly fine to get the schema of the columns in the resultset.
I am facing problem in fetching schema information of the temp tables(Created using #temp syntax). It gives error message that "incorrect syntax near #temp".
Can anybody throw light on this particular error?
Thanks
Varsha