Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error when retrieving varchar colum from SQL Server

Status
Not open for further replies.

whatupabc

Programmer
Joined
Jun 24, 2007
Messages
1
Location
US
Hi everyone,

Im' using ReportNet 1.1 with SQL Server 2000. I have an error when retrieving varchar column. Below is detais:
-In SQL Server:
+ Collation SQL_Denish_Pref_CP1_Cl_AS
+ Table structure:
create table TEST (
id int,
NAME varchar(10)
)
+ Store procedure
create procedure testStore(@intID int)
as
select id,NAME
from TEST
where id = @intID
-In ReportNet Framwork Manager:
When using the store procedure above, I got an error: QE-DEF-0177 An error occurred while performing operation 'sqlScrollBulkFetch' status='-9'

If I change the store procedure or table to convert NAME column to nvarchar, there is no error in FM
ex: create procedure testStore(@intID int)
as
select id,cast(NAME as nvarchar(10))
from TEST
where id = @intID
I only have error with collation SQL_Denish_Pref_CP1_Cl_AS. Others is working well. (ie SQL_Latin1_General_CP1_Cl_AS)

Could someone have experience with this and how to let the Framework Manager works well with collation SQL_Denish_Pref_CP1_Cl_AS without changing anything in store procedure or table?

Thanks,
Cong
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top