Re: INFORMATION_SCHEMA Views in SQLServer CE
- From: zacks@xxxxxxxxxxxxxxxxxxxxxxxx
- Date: Thu, 28 Feb 2008 12:52:22 -0800 (PST)
On Feb 26, 4:10 pm, Jin <jinsooch...@xxxxxxxxx> wrote:
On Feb 26, 2:58 pm, za...@xxxxxxxxxxxxxxxxxxxxxxxx wrote:
On Feb 22, 12:54 pm, Jin <jinsooch...@xxxxxxxxx> wrote:
On Feb 22, 11:27 am, za...@xxxxxxxxxxxxxxxxxxxxxxxx wrote:
Do the INFORMATION_SCHEMA Views in SQL Server CE have the same layout
(columns returned and their datatypes) as they are in SQL2000?
I am writing a C#.NET app that extracts data from a SDF file and I
used the Tables and Columns views to see what was in it, but the
returned fields, even though I was able to glean out what I needed,
appear to be in a different format that they are in SQL2000.
I wouldn't take someone words on this.
If you have access to both, then why not compare them yourself to make
sure.
- Jin
That's the problem, I do not have access to SQL Server CE. I was able
to figure out the schema of one SDF file, but I anticipate having to
do more and would like to write an application that dumps this info
out in a more formal format than picking out what I needed from
debugger output.
You can download and install SQL Server CE from Microsoft website.
You can also configure it (instructions already on this board) so that
you can access SDF database via VS 2005 and SQL Server Management
Studio Express. Also, I believe there are ways to extract schema
information without accessing the system schema tables directly. That
approach may help in avoiding the schema differences.
I have installed SQL Server CE but it does not appear to install any
items on the Start menu.
Actually, I figured out an easy way to do this, just write a .NET app
that runs a select * on the views and bind the result set to a
DataGridView. Voila, the column names are displayed in the
DataGridView.
Now, I am wondering what other views other than Tables and Columns are
there? I know there is not one for Views, cuz I tried that one and got
a table not found error.
.
- Follow-Ups:
- Re: INFORMATION_SCHEMA Views in SQLServer CE
- From: Ginny Caughey [MVP]
- Re: INFORMATION_SCHEMA Views in SQLServer CE
- References:
- INFORMATION_SCHEMA Views in SQLServer CE
- From: zacks
- Re: INFORMATION_SCHEMA Views in SQLServer CE
- From: Jin
- Re: INFORMATION_SCHEMA Views in SQLServer CE
- From: zacks
- Re: INFORMATION_SCHEMA Views in SQLServer CE
- From: Jin
- INFORMATION_SCHEMA Views in SQLServer CE
- Prev by Date: Re: String value in where clause
- Next by Date: Re: INFORMATION_SCHEMA Views in SQLServer CE
- Previous by thread: Re: INFORMATION_SCHEMA Views in SQLServer CE
- Next by thread: Re: INFORMATION_SCHEMA Views in SQLServer CE
- Index(es):
Relevant Pages
|