Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 2 years ago.
Improve this question
I have a requirement to connect to Oracle DB from machine A to Machine B(DB).
How to achieve this?
Weird tagging aside, if you're trying to access / operate on an Oracle DB via a Bash script the two main commands you'll want to look at are:
sqlplus (https://docs.oracle.com/cd/B19306_01/server.102/b14357/qstart.htm#i1055567)
sqlloader (https://docs.oracle.com/cd/B19306_01/server.102/b14215/ldr_params.htm)
SQLPlus will allow you to connect and run a prepared SQL script, and SQLLoader will allow you to perform a bulk load into an existing table.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
I'm totally new in SQL Server. But I'm going to work on it from now.
I have been asked to research five methods to copy or access data from one remote SQL server(Location A) to another remote SQL server(Location B).
I found several method to achieve this goal, such as Linked Server, Openrowset
T-SQL function and SSIS(SQL Server Integration Service).
But are there API, VPN, SFTP, Cloud or another possibility to achieve this goal?
Your answer will be really helpful!
You dnt need to access any other method just make sure Location A Ip and port address is open in the firewall.
Also Location B Server should be accessible to location A
Access server You need below details:
ServerName with Port no
Database Id and Password.
Copy the data from A to B please see below:
you can generate the table script from server A run the same script on Table B.
If you want the Table with data from A then during the script
generation in last window where you need to select patch for script
file Just click on Advance option and then their select the Schema
type as Schema and Data then it will generate the Data script as well
for you.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
I am trying to install and use SQL Server on docker.
As far as I know, 10GB is available for free on Express.
Is it the same for Docker?
If so, can I use unlimited capacity if I select MSSQL_PID as 'standard' in the environment variable?
In short the answer to your question is yes, what ever version you mention in the PID variable the sql server will operate like that. The only thing about licensing is that it believe on you that you have proper prior licensing for that version though it doesn't have any technical check or verification process.
Following link will give you some more related information that may help you further -
https://github.com/Microsoft/mssql-docker/issues/200
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 2 years ago.
Improve this question
I'm new to the topic of databases and DBMS.
I have written the PhoneBook program with C# .NET and SQL Server.
My question is how can I run this program on a users computer who hasn't got SQL Server?
I want when they click on the execution file on their computer, it will work immediately and correctly and they can store new users or delete some user
You could host a SQL server for your users and require they have an internet connection.
You could rewrite it as a web application, also requiring an internet connection.
Or you can use SQLite, an embedded SQL client and, for lack of a better term, server. That's what I'd recommend, and that's what many applications do. SQLite is not fully compatible with SQL Server, so you'd have to rewrite some of your SQL.
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 10 years ago.
Improve this question
I'm using the SQL server 2008.
The scenario is:
We have about two hundred reports to generate daily, and it need plenty of time to query in DB and refine the data. We hope the reports can be sent from e-mail and saved at the windows file system at the same time. So the method need two different subscription for the two ways of delivery is not acceptable.
Wondering if we can make it by customizing the subscription directly or write some dll to enhance it(like allow us selecting a new customized delivery when edit the subscription). Could u pls give me some ideas on it? If not, we have to write a new program to do it..but it needs effort..
One option would be to cache the reports so that they run quickly the second time.
Another option would be to put the files in a Windows file share and use SSIS SendMail to pick up the files and email them out.
One more option is to write your own report runner that runs the reports and deals with them as you want. I was unsatified with the Reporting Services scheduler options and did it this way. It isn't as hard as you might think and Microsoft has some code that will get you started.
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 10 years ago.
Improve this question
I am trying to backup my SQL Server 2008 R2 database. However I am getting the below error, no matter where I try to save the backup.
System.Data.SqlClient.SqlError: The volume on device 'D:\Programfiles\Microsoft SQL Server\MSSQL.1\MSSQL\Backup\dbName.bak'
is not part of a multiple family media set. BACKUP WITH FORMAT can be
used to form a new media set. (Microsoft.SqlServer.Smo).
Can anyone throw light on this?
The only helpful links I could google were following but of little use:
http://social.msdn.microsoft.com/Forums/en-US/sqldisasterrecovery/thread/a1eb2818-2a97-4c52-aa8d-7c224f1ac282
and
http://www.sqlservercentral.com/Forums/Topic279584-24-1.aspx
I wasn't able to reproduce the issue however, here's a workaround for whoever might run into this: use WITH FORMAT clause or Options - Back up to a new media set and erase all existing backup sets option in the GUI.