Showing posts with label develop. Show all posts
Showing posts with label develop. Show all posts

Friday, March 23, 2012

Interfacing with SQL

What is the best and quickest way to develop, or download, an interface that
clients can use to query sql?
Thanks,
CJ
"Illicom Newsgroups" <chrisj@.illicom.net> wrote in message
news:hRHzc.3428$Hf.1942321@.newshog.newsread.com...
> What is the best and quickest way to develop, or download, an interface
that
> clients can use to query sql?
>
Would the SQL Server client utilities like Query Analyzer be of value to
you?
Steve
|||Hi
You may want to check out the some of these:
http://www.aspfaq.com/show.asp?id=2442
John
"Illicom Newsgroups" <chrisj@.illicom.net> wrote in message
news:hRHzc.3428$Hf.1942321@.newshog.newsread.com...
> What is the best and quickest way to develop, or download, an interface
that
> clients can use to query sql?
> Thanks,
> CJ
>
|||> What is the best and quickest way to develop, or download, an
> interface that clients can use to query sql?
a web based interface like myLittleAdmin could be a good solution
more info on http://www.myLittleTools.net/mla_sql
best regards
elian chrebor
// myLittleTools.net : leading provider of web-based applications.
// myLittleAdmin : online MS SQL manager
// http://www.mylittletools.net
// webmaster@.mylittletools.net
|||Chris,
One option...
'SQL Server Web Data Administrator'
http://www.microsoft.com/downloads/d...displaylang=en
Dinesh
SQL Server MVP
--
SQL Server FAQ at
http://www.tkdinesh.com
"Illicom Newsgroups" <chrisj@.illicom.net> wrote in message
news:hRHzc.3428$Hf.1942321@.newshog.newsread.com...
> What is the best and quickest way to develop, or download, an interface
that
> clients can use to query sql?
> Thanks,
> CJ
>

Interface for Visual C++ in VS 2005?

I've been tasked to understand and develop an easy interface to query (insert, select, update, etc) a sql server compact database on an x86 win ce 5 machine. I'm using VS 2005 and have all the necessary SDK's installed. The problem is I can't find any good tutorials or documentation on sql server compact coding in C++ (only in C# and VB). Do y'all have any suggestions on where I can get started to learn the basic c++ sql interface coding?

Thanks!
Jeff

Edit: I'd like to note that I can run the sample northwind project on a win ce 5 x86 emulator, so it's not the setup that I need help with, but the actual coding.

Here are a couple of good places where you can start:

http://www.codeproject.com/ce/#Database

http://www.pocketpcdn.com/articles/articles.php?&atb.set(c_id)=74&atb.perform(list_folder)=&

|||Thanks for the articles. I like what I see with the ATL OLE DB Consumer Templates articles you wrote, but are they still valid for Visual Studio 2005 or just with eVC++ 3 and 4? I tried converting the sample projects, but I got a ton of compile errors as if the atl library was now very different than the one used in the sample project.

Thanks for any light you can shed!

Jeff
|||

Hi ,

I'am also looking for the same thing.If you get the information, please post it.My requirement is Windows Ce 5 as the mobile device and sql ce 3 and above as the backend.I have tried with the articles posted in the codeproject.com resulting with no luck. I have also tried with ADO and ATL OLE DB but resulting in tons of errors.Please help me in this regard.

|||

I am still using the same headers in VS2005. It's a bit of a kludge, but the Windows Mobile 5 SDK do not ship with the newer versions of the consumer templates (you can see these headers in the Win32 SDK). So far these have worked without issues.

|||Hi,

Thank you very much for quickly reacting to my problem.I have tried to convert a pocket pc 2003 Database application which is shipped with Sql ce 2.0 named Northwindoledb.

I have taken a win32 smart device application and copied all the files from Northwindoledb application and made the following changes .

I have removed the following files from "stdafx.h" header file

"oledb.h"
"oledberr.h"

I have included the following header file to my application.

"ssceoledb.h"

After this I have added the code right after

// Microsoft SQL Server for Windows CE 2.0 Provider (Microsoft.SQLSERVER.OLEDB.CE.2.0)
//
extern const OLEDBDECLSPEC GUID CLSID_SQLSERVERCE_2_0 = {0x76A85B2E,0x9DE0,0x4ded,{0x8E,0x69,0x4D,0xEF,0xDB,0x9C,0x09,0x17}};

in the ssceoledb.h header file.

// Microsoft SQL Server Lite for Windows 3.0 Provider (Microsoft.SQLSERVER.OLEDB.CE.3.0)
//
// {32CE2952-2585-49a6-AEFF-1732076C2945}
//
extern const OLEDBDECLSPEC GUID CLSID_SQLSERVERCE_3_0 = {0x32ce2952, 0x2585, 0x49a6, {0xae, 0xff, 0x17, 0x32, 0x7, 0x6c, 0x29, 0x45}};

and after this add the following line to the "ssceoledb.h" header file

typedef DWORD DBROWSTATUS;

And installed the sqlce 3.0 on windows CE 5.0 mobile.

The application has started running.

But question to you is how can I convert the Same project to MFC Dialog Based application.

Please help me in this regard.

Bye..

J.V.Sivaram