Showing posts with label msde. Show all posts
Showing posts with label msde. Show all posts

Monday, March 19, 2012

open MDF file without MSDE

Hello,
I'm trying to access .mdf file (a sql server database) without having
SQL Server installed on the machine (neither MSDE).
It can be done from any programming language (like Java or C#)?
Is there anyone who knows how can I do it?
Or does a native library that can access the .mdf file exist?

Thank to anyone who can help me...

Pietro.Pietro wrote:
> Hello,
> I'm trying to access .mdf file (a sql server database) without having
> SQL Server installed on the machine (neither MSDE).
> It can be done from any programming language (like Java or C#)?
> Is there anyone who knows how can I do it?
> Or does a native library that can access the .mdf file exist?
> Thank to anyone who can help me...
> Pietro.

You can read it as a binary file of course but the only supported
method to get at SQL Server's logical data and metadata structures
(tables etc) is to use the SQL Server engine. Microsoft doesn't publish
detailed specs for the file format.

--
David Portas, SQL Server MVP

Whenever possible please post enough code to reproduce your problem.
Including CREATE TABLE and INSERT statements usually helps.
State what version of SQL Server you are using and specify the content
of any error messages.

SQL Server Books Online:
http://msdn2.microsoft.com/library/...US,SQL.90).aspx
--

Monday, March 12, 2012

Open File Dialog Like Enterprise Menager ?

Hi, It is possible to open a file dialog directly from another pc
(windows 2000 server sp4, msde sp3) like enterprise manager do when you
try to restaure a database?
I don't want to share folder on my server, and I want to select the
backup file (located on my server) from my application (run on my
computer).
I have try with SQL-DMO but I can find anything.
Thank youThe SQL-NS API expose the dialogs that EM has. Possibly this backup dialog a
s well. Note that SQL-NS
has not been carried forward to 2005.
Another option is do-it-yourself. I have done what you try to do by submitti
ng SQL queries to
enumerate disks, folders, files etc. You'd have to use Profiler to see what
extended stored
procedures that are used by these dialogs by EM, and note that many of these
are not documented =
not supported!
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
<blacketik@.gmail.com> wrote in message news:1155222848.934108.285120@.h48g2000cwc.googlegroup
s.com...
> Hi, It is possible to open a file dialog directly from another pc
> (windows 2000 server sp4, msde sp3) like enterprise manager do when you
> try to restaure a database?
> I don't want to share folder on my server, and I want to select the
> backup file (located on my server) from my application (run on my
> computer).
> I have try with SQL-DMO but I can find anything.
> Thank you
>

Open File Dialog Like Enterprise Menager ?

Hi, It is possible to open a file dialog directly from another pc
(windows 2000 server sp4, msde sp3) like enterprise manager do when you
try to restaure a database?
I don't want to share folder on my server, and I want to select the
backup file (located on my server) from my application (run on my
computer).
I have try with SQL-DMO but I can find anything.
Thank youThe SQL-NS API expose the dialogs that EM has. Possibly this backup dialog as well. Note that SQL-NS
has not been carried forward to 2005.
Another option is do-it-yourself. I have done what you try to do by submitting SQL queries to
enumerate disks, folders, files etc. You'd have to use Profiler to see what extended stored
procedures that are used by these dialogs by EM, and note that many of these are not documented =not supported!
--
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
<blacketik@.gmail.com> wrote in message news:1155222848.934108.285120@.h48g2000cwc.googlegroups.com...
> Hi, It is possible to open a file dialog directly from another pc
> (windows 2000 server sp4, msde sp3) like enterprise manager do when you
> try to restaure a database?
> I don't want to share folder on my server, and I want to select the
> backup file (located on my server) from my application (run on my
> computer).
> I have try with SQL-DMO but I can find anything.
> Thank you
>

Saturday, February 25, 2012

ONLY 5 concurrent connections?

Hi all,
Is it true that MSDE can only handle 5 concurrent
connections? I cant seem to find the proof in the
documentation that this is true.
http://forums.msdn.ph/ShowPost.aspx?PostID=39677
HTH, Jens Smeyer.
http.//www.sqlserver2005.de
"chris" <anonymous@.discussions.microsoft.com> schrieb im Newsbeitrag
news:1f0201c54401$463bd6f0$a601280a@.phx.gbl...
> Hi all,
> Is it true that MSDE can only handle 5 concurrent
> connections? I cant seem to find the proof in the
> documentation that this is true.
|||On Mon, 18 Apr 2005 03:27:51 -0700, chris wrote:

>Hi all,
>Is it true that MSDE can only handle 5 concurrent
>connections? I cant seem to find the proof in the
>documentation that this is true.
Hi Chris,
It isn't true.
MSDE imposes no limit on the number of connections. It does impose a
limit on the number of concurrent workloads (i.e. internal threads in a
busy state - usually executing your queries). The limit is set to 8
concurrent workloads, but internal processes take away the first 3,
leaving you with 5 to spend for your goals. If more than 8 workloads are
active at the same time, performance for all workloads is throttled. ANd
the more you exceed the limit, the more the performance will be
throttled.
In a typical data-entry situation, you can easily exceed 20 or even 40
connections - if the data entry screens are complex and the server-side
processing limited, you could even hit 100 connecitons without problems.
On the other hand: if you use complex processing, using a client to
spawn multiple sessions, each executing complex and time-consuming
queries in parallel to each other, then executing the process from just
one computer at a time might already be enough to exceed the limit and
degrade the performance.
http://msdn.microsoft.com/library/?u...asp?frame=true
Best, Hugo
(Remove _NO_ and _SPAM_ to get my e-mail address)
|||And this workload limit is removed in SQL Express (MSDE's replacement).
____________________________________
William (Bill) Vaughn
Author, Mentor, Consultant
Microsoft MVP
www.betav.com/blog/billva
www.betav.com
Please reply only to the newsgroup so that others can benefit.
This posting is provided "AS IS" with no warranties, and confers no rights.
__________________________________
"Hugo Kornelis" <hugo@.pe_NO_rFact.in_SPAM_fo> wrote in message
news:0v1861pak4dhf7qhvdlodfno2s4unlqil4@.4ax.com...
> On Mon, 18 Apr 2005 03:27:51 -0700, chris wrote:
>
> Hi Chris,
> It isn't true.
> MSDE imposes no limit on the number of connections. It does impose a
> limit on the number of concurrent workloads (i.e. internal threads in a
> busy state - usually executing your queries). The limit is set to 8
> concurrent workloads, but internal processes take away the first 3,
> leaving you with 5 to spend for your goals. If more than 8 workloads are
> active at the same time, performance for all workloads is throttled. ANd
> the more you exceed the limit, the more the performance will be
> throttled.
> In a typical data-entry situation, you can easily exceed 20 or even 40
> connections - if the data entry screens are complex and the server-side
> processing limited, you could even hit 100 connecitons without problems.
> On the other hand: if you use complex processing, using a client to
> spawn multiple sessions, each executing complex and time-consuming
> queries in parallel to each other, then executing the process from just
> one computer at a time might already be enough to exceed the limit and
> degrade the performance.
> http://msdn.microsoft.com/library/?u...asp?frame=true
> Best, Hugo
> --
> (Remove _NO_ and _SPAM_ to get my e-mail address)