Run SQL from Batch File using SQLCMD

The sqlcmd utility lets you enter Transact-SQL statements, system procedures, and script files through a variety of available modes: At the command prompt. In Query Editor in SQLCMD mode. In a Windows script file. In an operating system (Cmd.exe) job step of a SQL Server Agent job. The utility uses ODBC to execute Transact-SQL batches. Run sql from command... » read more

Windows Batch Script Example

In Windows, the batch file is a file that stores commands in a serial order. Command line interpreter takes the file as an input and executes in the same order. A batch file is simply a text file saved with the .bat or .cmd file extension. It can be written using Notepad or any other... » read more

Transfer Files Using Remote Desktop

By default, Windows Dedicated Servers have no FTP server installed or setup. The easiest way to securely transfer files between the server and your computer is use Remote Desktop. Click the Start menu on your PC and search for Remote Desktop Connection. Launch Remote Desktop Connection and click on Show Options. Select the Local Resources tab and click More. Under Drives, check the... » read more

How to save CSV file as UTF-8 with Notepad

The steps are as given below: Open the CSV file with Notepad. Navigate to File > Save As option. A screenshot of the menu is as shown below:Notepad File Menu Next, select the location to the file. The Save As window appears as shown below:Save As option in Notepad Select the Save as type option as All Files(*.*). Specify the file name with .csv extension. From Encoding drop-down list, select UTF-8 option.... » read more