Export SQL result to Excel [closed] - sql-server

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 5 years ago.
Improve this question
Hello how export SQL result to excel?..
i try CTRL+SHIFT+C and paste?..but something more specific?

Since you have edited your post and tagged it as SQL Server ... In your SSMS (SQL Server Management Studio) .. in the result window .. You can select all result data (CRTL + A will do) and right click .. you can now save it as *.csv format

You can use SQL Yog Software for that it is quite easy to export using sql yog...just install it and connect localhost and then you can export to csv,excel and in html also.

Related

How to connect to my FTP server using my host IP address [closed]

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 7 days ago.
Improve this question
I would like to connect to my FTP server in order to upload a local file using the host IP address.
I have created two Batch Files.
ScriptCAAR.bat:
open 41.110.185.222
USERNAME (My Username)
Password (My Password)
cd CAAR
binary
put E:\DBB\*.rar
bye
Send.bat:
ftp -i -s:scriptCAAR.bat
Accessing the server reported a 'Connection time out'. Is there a solution for this, please?

Convert Database File Into a Text File [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 am searching to convert a entire database into a text file and access the file via a windows form application. If it's possible then help me how to make it.
You can use Generate Script option in SQL Management studio to generate script for selected objects. There are option to make script of 'schema only' or 'data only' or 'both'.
Step 1: Right click on your database then navigate to task >> Generate Script
Step 2: Click Next
Step 3: Since you want to generate script for whole database. so default option is ok. Otherwise you may select the particular database objects.
Step 4: Select appropriate option from advanced popup.
Step 5: Click next and your database script is generated as your selected option.
Please find this link for detail steps for generating script in SQL Server Generate Scripts.
There you find your option to save generated script in query window or clipboard or 'sql file`. Which further open in text editor for further use.

Is there any way to find the list of Oracle DBs installed on a UNIX server? [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 10 years ago.
Improve this question
I know there are Oracle DBs installed on my UNIX server. Is there any way to get those DB names? I'm using Sun OS.
You can also try ps -ef | grep -i pmon. Each running pmon process would be for one DB and base on the pmon name your database would be ora_pmon_<db sid>. There could be additional DBs that are not running currently but this would give you the active running database on a Sun box. Also check the /var/opt/oracle/oratab as mention above for the listing of the DBs if the DB admin is keeping the DB properly listed in oratab.
cat /etc/oratab|grep -v "^#"|grep -v "N$"|cut -f1 -d: -s

How do I change where databases are created in SQL Server Management Studio? [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 10 years ago.
Improve this question
By default, all new databases are created on C:\. I need them to be created on E:\. My first instinct was to move the database files for the model database, but SSMS is not giving me the option to detach it.
So, my question is, is there a way to set up the server so that all of the new databases are created on E:\ by default?
In SSMS, right click on the server and choose "Properties". On the "Database Settings" page of the Server Properties window, specify your new locations for data and log files.
You could also do this with T-SQL by writing directly to the registry:
USE [master]
GO
EXEC xp_instance_regwrite N'HKEY_LOCAL_MACHINE', N'Software\Microsoft\MSSQLServer\MSSQLServer', N'DefaultData', REG_SZ, N'E:\YourData'
GO
EXEC xp_instance_regwrite N'HKEY_LOCAL_MACHINE', N'Software\Microsoft\MSSQLServer\MSSQLServer', N'DefaultLog', REG_SZ, N'E:\YourLogs'
GO
There is a guide here for SQL Server 2000 og 2005, my guess it's probably the same for SQLServer 2008:
http://support.microsoft.com/kb/224071
Go down to the "Moving the model database" section.
I hope this helps.

How to kill process on Remote Desktop Connection? [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 am working remotely on a Windows Server via Remote Desktop Connection and some process has hung the server. I looked up how to bring up the Task Manager remote (equivalent of locally doing CTRL+ALT+DEL) and I found CTRL+ALT+END and it doesn't seem to work.
I tried logging off and logging back on and the system is still up (tried earlier seeing the properties of My Comptuer, FYI).
Does anyone know how I can escape this 'hindrance' and star fresh?!?
Start the task manager with e.g right-clicking in the bottom right or just start it manually with taskmgr in "execute"

Resources