G
Gerald Aichholzer
Hi NG,
I have a strange problem with a (non) editable view.
There's a table Etat which looks like:
CREATE TABLE [dbo].[Etat] (
[fiEtat] [int] NOT NULL ,
[Year] [smallint] NOT NULL ,
[Cost] [decimal](12, 2) NOT NULL ,
[TS] [timestamp] NULL
) ON [PRIMARY]
Primary key is composed from fiEtat and Year.
Then I have an editable view 'viewEtatCost' with the
following SQL:
SELECT TOP 100 PERCENT fiEtat, Jahr, Betrag
FROM dbo.EtatBetrag
ORDER BY Jahr
And a non-editable view 'viewCustomerEtatCostForm':
SELECT fiEtat, Jahr, Betrag
FROM dbo.viewEtatBetrag
Can anybody tell me why the second view is read-only?
thanx in advance,
Gerald
I have a strange problem with a (non) editable view.
There's a table Etat which looks like:
CREATE TABLE [dbo].[Etat] (
[fiEtat] [int] NOT NULL ,
[Year] [smallint] NOT NULL ,
[Cost] [decimal](12, 2) NOT NULL ,
[TS] [timestamp] NULL
) ON [PRIMARY]
Primary key is composed from fiEtat and Year.
Then I have an editable view 'viewEtatCost' with the
following SQL:
SELECT TOP 100 PERCENT fiEtat, Jahr, Betrag
FROM dbo.EtatBetrag
ORDER BY Jahr
And a non-editable view 'viewCustomerEtatCostForm':
SELECT fiEtat, Jahr, Betrag
FROM dbo.viewEtatBetrag
Can anybody tell me why the second view is read-only?
thanx in advance,
Gerald