Showing posts with label experience. Show all posts
Showing posts with label experience. Show all posts

Tuesday, March 27, 2012

Exporting MSSQL database

Hello all

Before I begin - I have very little experience with SQL and databases in general, so please if you are kind enough to offer your advice, please be kind to break it down, even if it seems obvious to you.

Here is the problem - I am hosting a DotNetNuke website with a certain company, whom I would like to leave. In order to migrate my site to another hosting provider I need a copy of my DB, in a .mdf file format (according to the new hosting provider), which I am unable to get from my current provider, why I do not know, and if truth be told dont' particularly care. Anyways. What can I do? Another problem is that I can only access my existing DB thru hosting provider's web portal, not MSSQL Server Management studio. I have an option to export into .CSV file or .XML file. But what do I do with them after that? Bring it into the studio, save it as .mdf? This all probably sounds really funny, and naive to someone who knows about these things, but I am really frustrated. Many thanks in advance.

Quote:

Originally Posted by yellofsh

Hello all

Before I begin - I have very little experience with SQL and databases in general, so please if you are kind enough to offer your advice, please be kind to break it down, even if it seems obvious to you.

Here is the problem - I am hosting a DotNetNuke website with a certain company, whom I would like to leave. In order to migrate my site to another hosting provider I need a copy of my DB, in a .mdf file format (according to the new hosting provider), which I am unable to get from my current provider, why I do not know, and if truth be told dont' particularly care. Anyways. What can I do? Another problem is that I can only access my existing DB thru hosting provider's web portal, not MSSQL Server Management studio. I have an option to export into .CSV file or .XML file. But what do I do with them after that? Bring it into the studio, save it as .mdf? This all probably sounds really funny, and naive to someone who knows about these things, but I am really frustrated. Many thanks in advance.


Well if you could get into the management studio it'd be easy you just create a backup of the database. Otherwise if you can only save the data in each table in your database to a .csv file then it'll be more tricky depending on how many tables are in the database.

First of all you'll need to brush up on your SQL (don't worry it's easy). Start by creating a new database (CREATE DATABASE myDB), then you'll have to create each table manually and define all the fields (unless the web portal will script the CREATE TABLE statements for you) . Then for each table you'll need to import the data from the .csv file into the table using a BULK INSERT statement.

Once all this is done you have your database and you'll find the .mdf file somewhere in the SQL Server directory.

This is only a rough guide but hope it point you in the right direction.

Exporting embedded images to PDF

Hi,
we experience problems whenever we try to export reports containing images
to a PDF-document. As far as we found out, this issue occurs only with images
set to 256 colours (8 bpp). Images set to 16.7 m pixels do not cause any
problems. Due to the fact that this is a mayor issue for our company weâ'd
like to know whether this problem will be fixed soon. Converting all images
to high colour is not a feasible workaround for us.
Regards,
Carsten Schlotmann
Informationstechnik & eBusiness
A. F. Dornbracht GmbH & Co. KGYou should report this as a bug... Then you can see the status...
http://lab.msdn.microsoft.com/productfeedback/default.aspx
--
Wayne Snyder MCDBA, SQL Server MVP
Mariner, Charlotte, NC
I support the Professional Association for SQL Server ( PASS) and it''s
community of SQL Professionals.
"Markus Behde" wrote:
> Hi,
> we experience problems whenever we try to export reports containing images
> to a PDF-document. As far as we found out, this issue occurs only with images
> set to 256 colours (8 bpp). Images set to 16.7 m pixels do not cause any
> problems. Due to the fact that this is a mayor issue for our company weâ'd
> like to know whether this problem will be fixed soon. Converting all images
> to high colour is not a feasible workaround for us.
> Regards,
> Carsten Schlotmann
> Informationstechnik & eBusiness
> A. F. Dornbracht GmbH & Co. KG|||Sorry, but it's a problem on SQL Server 2000 with Reporting Services SP2 and
at the Product Feedback Center I can only report bugs for SQL Server 2005!
"Wayne Snyder" wrote:
> You should report this as a bug... Then you can see the status...
> http://lab.msdn.microsoft.com/productfeedback/default.aspx
> --
> Wayne Snyder MCDBA, SQL Server MVP
> Mariner, Charlotte, NC
> I support the Professional Association for SQL Server ( PASS) and it''s
> community of SQL Professionals.
>
> "Markus Behde" wrote:
> > Hi,
> >
> > we experience problems whenever we try to export reports containing images
> > to a PDF-document. As far as we found out, this issue occurs only with images
> > set to 256 colours (8 bpp). Images set to 16.7 m pixels do not cause any
> > problems. Due to the fact that this is a mayor issue for our company weâ'd
> > like to know whether this problem will be fixed soon. Converting all images
> > to high colour is not a feasible workaround for us.
> >
> > Regards,
> >
> > Carsten Schlotmann
> > Informationstechnik & eBusiness
> >
> > A. F. Dornbracht GmbH & Co. KG|||Hi Carsten,
Welcome to use MSDN Managed Newsgroup!
From your descriptions, I understood you encounter problems when rendering
256 color images to PDF format. If I have misunderstood your concern,
please feel free to point it out.
I have generated a 256 colors bmp file with mspaint and inserted it into my
report as Embeded image. The rendered pdf file looks as expected.
You may send the sample files/solution based on sample database
AdventureWorks within a zipped package to me. My direct email address is
v-mingqc@.online.microsoft.com (make sure to REMOVE "online" before you
click SEND as "online" is only for SPAM), you may send the file to me
directly and I will keep secure.
You may also contact Microsoft Customer Service and Support and open a
support incident and work with a dedicated Support Professional.
Please be advised that contacting phone support will be a charged call.
However, if you are simply requesting a hotfix be sent to you and no other
support then charges are usually refunded or waived. if this turned out to
be a known issue/bug in our product, you will also be refunded or waived.
To obtain the phone numbers for specific technology request please take a
look at the web site listed below.
http://support.microsoft.com/default.aspx?scid=fh;EN-US;PHONENUMBERS
Thank you for your patience and cooperation. If you have any questions or
concerns, don't hesitate to let me know. We are always here to be of
assistance!
Sincerely yours,
Michael Cheng
Microsoft Online Partner Support
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=====================================================This posting is provided "AS IS" with no warranties, and confers no rights.|||Hi Carsten,
Thanks for your email and sample.
This was confirmed to be a known issue and will be fixed in Reporting
Services 2005 Service Pack 1.
Sincerely yours,
Michael Cheng
Microsoft Online Partner Support
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=====================================================This posting is provided "AS IS" with no warranties, and confers no rights.