Connecting Excel with SQL Server 2008 [closed] - sql-server-2008

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
Is it possible to connect Excel 2007 or Excel 2010 directly with SQL Server 2008 so that any changes in excel would appear in database without import or export to database?
If it is possible What is the best possible way to do this and
why?

To the best of my knowledge you cannot export data back to any database from Excel.
When you connect excel to a database, effectively you are just defining a datasource and excel imports the data and has no concept of row numbers, primary keys etc which it may need to update the fields. Excel is primarily a presentation tool (after being a spreadsheet).
You can connect to a database by going to:
Control Panel\All Control Panel Items\Administrative Tools\Data Sources (ODBC)
Setup up an ODBC connection to your SQL Server and then defining that connection in your Excel Datasource.
The best way to be able to view and update data that I can think of is through a query browser, either SQL Servers own "Management Studio" or a generic "Query Browser". Just create a user with only SELECT privileges and you should be good to go. Perhaps a web-based solution like myLittleAdmin so users can visit a site, log-in and run the queries they want, update and delete as they want.
My personal favorite is Jet DataBrowser however it's java based and hasn't been updated since 2007.

Related

Is there a way/service to get SQL statements that would input all the values of a database into another when inputting a database? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed last year.
Improve this question
I have a local SQL database that I want to move onto google cloud's MySql service but I don't see a way to copy a database into their program. I can write into a new database but I don't know how to turn one database into lines of code that would insert the lines into a new database. Is there any service that would turn a database into the lines of SQL that are needed to make a new one? Something similar to https://www.convertcsv.com/csv-to-sql.htm but with databases and not CSV files. Any help would be greatly appreciated!
Google has a free (note that the migration is free, the database it puts your data in is not) managed service called "Database Migration Service" that can move all your data for you and set up the Cloud SQL instance.
https://cloud.google.com/database-migration
The UI in the console is here:
https://console.cloud.google.com/dbmigration/migrations
The hard part is making sure that the two database locations can talk to each other. That means opening up holes in your firewall where your database is currently living to enable Cloud SQL to talk to it, and enabling the Cloud SQL instance to talk securely to your old database. The UI walks you through all this.

Can we create sql DB server backup on different database(free database)? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
I have SQL database with huge amount of data. I want to create backup DB server using free databsase (e.g.Mysql) which will be back up server of SQL database. How can I do this ?
If your primary db is on SQL Server and backup is MySQL you can copy table by table only.
I would recommend using SSIS package to copy data between DBs and schedule the SSIS package as job so backup is done automatically.
Note: this copies data only. Your Views, Stored Procs wont get copied and they wont be compatible too.
Plan B : You can use FREE SQLServer Express edition as backup server (instead of MySQL) and do a traditional SQLServer backup (one .bak per db) and restore it in SQL Server Express. This way your script will be backed up.
Hope this helps

SQL database -> MySQL database conversion [duplicate]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I have a SQL Server database with lots of data and an empty MySQL database. Now I want to copy all data of SQL Server database (including the database schema) to the MySQL database.
I thought about using raw SQL dump, but SQL Server's SQL syntax is not same as MySQL.
And I have googled some database migration tool, such as south (only for django), simple-db-migration (only for one type of database, maybe PostreSQL?) and SQLAlchemy (I haven't finished learning it, just feeling it somewhat clunky).
What tool can I use to do this migration?
I'm usually using opendbcopy for these kind of jobs ...
I tried this tool once http://dbconvert.com/convert-mssql-to-mysql-pro.php , but you have to pay for the full version. Of course you can write your own migration script e.g. in PHP. On Windows it will be easy to connect to MSSQL server, from a Linux machine you have to use ODBC and that is sometimes a bit messy to install and configure.

How to migrate SQL Server database to MySQL? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I have a SQL Server database with lots of data and an empty MySQL database. Now I want to copy all data of SQL Server database (including the database schema) to the MySQL database.
I thought about using raw SQL dump, but SQL Server's SQL syntax is not same as MySQL.
And I have googled some database migration tool, such as south (only for django), simple-db-migration (only for one type of database, maybe PostreSQL?) and SQLAlchemy (I haven't finished learning it, just feeling it somewhat clunky).
What tool can I use to do this migration?
I'm usually using opendbcopy for these kind of jobs ...
I tried this tool once http://dbconvert.com/convert-mssql-to-mysql-pro.php , but you have to pay for the full version. Of course you can write your own migration script e.g. in PHP. On Windows it will be easy to connect to MSSQL server, from a Linux machine you have to use ODBC and that is sometimes a bit messy to install and configure.

What is the easiest way to visualize transactional data utilizing using a data dump like MySQL, CSV etc etc [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
Essentially I want to be able to feed it data and see fancy charts and graphs displaying information out of the data based on x amount of transactions etc etc and/or SQL statements etc.
It does not matter if it is client based or web based. Open source would be great but commercial is fine also.
Have a look at myDBR. It allows you to easily generate reports and also takes care of the report layout.
To make a report you just write a stored procedure (either with the included SQL editor or with your preferred DB tool). The data generated by the stored procedure is then interpreted by myDBR. For example to create a chart of your monthly sales you would write the following code:
select 'dbr.chart', 'Column', '2D Column';
select Name, SUM(Items)
FROM demo.TestTable
GROUP BY Name;
There are plenty of chart types and configuration options available.
myDBR community version is free of charge, and the premium version is only 129 EUR / year.
This looks like a job for Google! Well here's some info anyway :)
Crystal Reports is one of the most popular commercial systems for more of a reporting server.
Microsoft Excell can be used to create reports out of your csv data. You'll have to create the excell sheets yourself and dump the data. It can be automated with VBScript or .NET.
Also look into bluya for a free solution but I don't really know much about it.
Oh and .NET has the sql report thing for free. It's built in as a asp.net control so you can see it in the visual studio toolbox.