G
Guest
I'm designing an ASP.NET site where I was thinking of storing all my articles in a MSSQL2K database. 8000 chars isn't much for a real article with HTML codes etc so I have to use a TEXT/NTEXT column for this
In good coding practice, I have created a seperate data-tier which utilizes stored procedures in the database. The problem comes when I try using an output parameter to retrieve a TEXT/NTEXT column from a single row in my Articles table. I have read that when retrieving single rows that output parameters are much better than returning recordsets, but the recordset method is the only method I can get working with the TEXT/NTEXT column
Is it impossible to return the whole column as an output parameter or do I have to do it using the recordset -> DataTable/DataSet method? Is this good design or is there a better way of doing things?
In good coding practice, I have created a seperate data-tier which utilizes stored procedures in the database. The problem comes when I try using an output parameter to retrieve a TEXT/NTEXT column from a single row in my Articles table. I have read that when retrieving single rows that output parameters are much better than returning recordsets, but the recordset method is the only method I can get working with the TEXT/NTEXT column
Is it impossible to return the whole column as an output parameter or do I have to do it using the recordset -> DataTable/DataSet method? Is this good design or is there a better way of doing things?