developing Microsoft Sql locally on mac - sql-server

I've got a project where I have to work with Microsoft SQL which is new for me.
I already made a lot with MySQL server and database. Is there a way to developpe on a Mac OSX with a local MS SQL database and XAMPP or something like that?

SQL Server's database engine only runs on Windows. You can find a spare Windows box to run it, or host the machine with VMWare Fusion / Parallels.
Oracle SQL Developer can serve as a replacement for SSMS on Mac.

Related

Is it possible to create a backup image of an already installed sql server? (complete image not just configuration file installation)

I am wondering if it is possible to create an image of an already installed SQL server on my machine?
The issue is as follows:
I have SQL server developer 2014 and 2016 with all components installed on my machine (Sql server, SSIS, SSRS, SSAS), my OS is Windows 10 pro (upgraded from windows 8.1), and recently I had windows 10 anniversary update and I am having a lot of issues since this then, so I want to reset Windows (resetting resolved same issues I had with my other computers).
I know I can use configuration file installation, but this will not include all the components and will not have setting for things like Management Data Warehouse and SSAS query history.
So I am asking if there is a way to generate an image of the already installed SQL server and it's components and just re-install that image again after resetting windows?
Thank you.
There is no built in SQL Server tool to do this (Oracle does have such a tool) and many dbas think because they can restore a database they have done enough in the area of backup. You can use VMWARE (Virtual Machine Converter) to create an image of your machine or you have to backup all the databases (including the system dbs) that are installed on your machine, all the binaries (programs both SQL Server and non-SQL Server utils such as antivirus) and all the settings at the system level (especially accounts).
The best way to check is to do a bare metal restore and see if the machine matches what you have exactly.

SQL Server Express installation required for clients connecting to a server?

I would like to know if an installation of SQL Server Express is required on my client PCs? I have searched a fair bit and so far all I've seen were related to attached databases or local databases.
Here's the setup of my system.
There will be a Windows Server PC that will be hosting the SQL Server instance.
Client PCs will be running a VBNet based windows form application where connection strings will be fed to table adapters that would allow them to connect to the server.
Now I have tested running the application on a Windows 7 PC without SQL Server Express installed and it works, connection was a success and data can be retrieved etc. However the system is actually going to be run on Windows XP when it goes live.
So I was wondering if the client PCs would require an installation of SQL Server Express or any sort of dlls for it to be able to connect to the server? Or would the .Net Framework be sufficient?
Thanks in advance.
You will not require a SQL instance on your client PCs. The app can just make the connection to the server via the connection strings. Our app is very similar in the fact that we support Windows Xp and SQL Server 2005 and it works well without any instance on the client PCs. We do install a local instance on the client but this is only used when transferring data to a laptop so it can be used when disconnected from the network. HTH
I think you should install .Net framework on your client pc. I'm not entirely sure if it's the case but to be sure, run it on a Windows XP machine. If you dont have an xp machine, try using desktop simulater like virtualbox of sorts.

Connect oracle 11g client from windows 7 to Windows server 2008

Good afternoon dear all. I am Shaiju.I need your advice on installing Oracle 11g database client software in my windows 7 64 bit OS workstation. The following is my scenario.
I have installed Oracle Database 11g 64 bit on my server (Windows 2008 R2 Standard 64 bit). It works well.
I have to access the database from my client machine (Windows 7 64bit). I have installed oracle database 32 bit client in the workstation. I chose Administrator mode method while installing the oracle client software.
I copied tnsnames.ora, listener.ora from the server and pasted them in workstation under network\admin folder.
When I tried to connect the database through sqlplus, it could not connect the database. It says "Error: ORA-12541: TNS:no listener".
If you have any idea what could be the problem, please advise me how to sort it out.
First I'll assume that the listener and database are up on your server (you can see them as windows services). If you don't know what you are doing I'd strongly recommend using the the oracle configuration assistant to modify the tns files and always keep a backup. They are very sensitive if you don't get the syntax right.
http://docs.oracle.com/cd/B16276_01/doc/server.102/b14196/network005.htm
You could also try easyconnect http://docs.oracle.com/cd/B19306_01/network.102/b14212/naming.htm#i498306

Can a WPF app with .sdf database run on a computer without SQL Server installed

This question may seems a bit silly. The thing is I'm programming a WPF using VS2010, which contains a .sdf database (connection is ADO.NET).
Someone told me that if I use a SQL Server Express database it can be run on any PC even it has no SQL Server installed. But after I tried executing in my virtual machine (win7 & win xp), seems it cannot even start up.
So, can someone brief me, what database do people normally use in developing WPF software? Is it true that my program using a SQL Server database file cannot execute on PC without SQL Server installed?
Much appreciate in advance!
Yes, it can!
SQL Server Compact (that produces and uses .sdf) is the only SQL Server edition that does not require a server to be installed. All its code and logic is contained in the handful of DLL's that you need to include with your application. Just ship your app with those DLL's and you should be fine.
Read more about SQL Server Compact and how to use and deploy it on MSDN.
SQL Server Express (and any of the other editions, like Web, Standard, Developer, Enterprise) on the other hand does require an installation of the SQL Server Express edition - either on that machine, or somewhere in the network where your app runs (remote connections from the network are disabled by default, but can be enabled).

Connecting localhosted drupal 7 with remote SQL Server 2000 database or Oracle 10g

I have installed XAMPP in my local system.I have a remote system with SQL Server installed. How can I connect to this server from Drupal that is running in my local system with XAMPP server? My operating system is Windows XP. Is it possible?
Is it possible to connect remote oracle10g database.
I assume you have Drupal up and running backed by a MySQL/MariaDB database, and now you would like to connect to a remote Oracle database through a custom module of yours. If my assumption is correct, then have a look at db_set_active() for how to switch between databases.
If you would like Drupal to be backed by an Oracle database, as opposed to a MySQL/MariaDB, then I'd say you should have a look at the Oracle driver project for Drupal. I haven't tried it myself, but it might be the best place to start.

Resources