In SQL Server2000 in our production environment, I use a SQL statement to create a view that isn't working in the latest implementation.
I isolated the problem to a select statement to retreive records from a view and a table;
Select (multiple values from table) where
View.PtType=Table.Ptype
Both (Type & PtType) are datatypes nvarchar (The view inner joins another Table for it's value;Type)
Both type tables use the values I,O,E,S,& R.
The statement works in every implementation except this one.
I’ve rebuilt the table using a copy of the working table and imported the same values.
All that return are 10 records instead of 120K.
Any ideas?
I isolated the problem to a select statement to retreive records from a view and a table;
Select (multiple values from table) where
View.PtType=Table.Ptype
Both (Type & PtType) are datatypes nvarchar (The view inner joins another Table for it's value;Type)
Both type tables use the values I,O,E,S,& R.
The statement works in every implementation except this one.
I’ve rebuilt the table using a copy of the working table and imported the same values.
All that return are 10 records instead of 120K.
Any ideas?