By the way the SP works right on QA, I´ve already set the settings on the SP
as well but something funny happened. I made a backup of my DB and created a
new one, my test application is an exact copy of the original and is directed
to my test db, i created the views and put my set settings inside the SP code
like this:
set ANSI_NULLS ON
set ANSI_PADDING ON
set ANSI_WARNINGS ON
set ARITHABORT ON
set CONCAT_NULL_YIELDS_NULL ON
set NUMERIC_ROUNDABORT OFF
set QUOTED_IDENTIFIER ON
I also created the views and table with those settings, it worked right and
my test app is working, but when i did the same thing on the original it
didn´t work!!! and both DB are on the same server, the apps are the same the
only difference is the db.
Thanks
[quoted text, click to view] "Louis Davidson" wrote:
> It could be that you have an IF statement in your stored procedure that
> says:
>
> IF index exists
> raiserror
>
> Though I doubt it :) Can you tell us what error you are getting? And does
> the procedure work from QA?
>
> --
> ----------------------------------------------------------------------------
> Louis Davidson -
http://spaces.msn.com/members/drsql/ > SQL Server MVP
>
>
> "Huacuz" <Huacuz@discussions.microsoft.com> wrote in message
> news:2B125336-D155-4DCF-993A-0C560D880AC9@microsoft.com...
> > Hi every one!
> >
> > I have a problem with an indexed view, it points to a table that need to
> > be
> > updated constantly, the problem is that I can update, insert and delete
> > from
> > Query Analizer but my ASP can not by calling a stored and it connects by
> > ADO,
> > not ODBC. When I take off the index from the view it works perfectly. Why
> > could this be?
> >
> > Some body help me please!!!!!
> >
> > Thanks a lot.
> >
>
>