G
Guest
Hi and goodday,
We have the following table on a SQL Server 2005:
CREATE TABLE [dbo].[CourseItems](
[CourseItemID] [int] IDENTITY(1,1) NOT NULL,
[CourseItem] [varchar](100) NOT NULL,
[CourseID] [int] NULL,
CONSTRAINT [CourseItems_PK] PRIMARY KEY CLUSTERED
(
[CourseItemID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY =
OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY],
CONSTRAINT [cstCI] UNIQUE NONCLUSTERED
(
[CourseItem] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY =
OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
Using a SQLDataAdapter to create a DataTable with FillSchema you're supposed
to get the datatable with the schema information.
But the index "cstCI" is missing and I do need that information. Actually I
need to get the index from a View based on this Table.
Any hints or clues are welcome,
Thands in advance,
Herman Berger.
We have the following table on a SQL Server 2005:
CREATE TABLE [dbo].[CourseItems](
[CourseItemID] [int] IDENTITY(1,1) NOT NULL,
[CourseItem] [varchar](100) NOT NULL,
[CourseID] [int] NULL,
CONSTRAINT [CourseItems_PK] PRIMARY KEY CLUSTERED
(
[CourseItemID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY =
OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY],
CONSTRAINT [cstCI] UNIQUE NONCLUSTERED
(
[CourseItem] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY =
OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
Using a SQLDataAdapter to create a DataTable with FillSchema you're supposed
to get the datatable with the schema information.
But the index "cstCI" is missing and I do need that information. Actually I
need to get the index from a View based on this Table.
Any hints or clues are welcome,
Thands in advance,
Herman Berger.