FTP files using SQL stored procedure

This stored procedure takes four parameters1)file to ftp2)server name or IP3)ftp login4)ftp passwordSP will ensure that local file exists before continuing,it will create and execute a batch file in order to push the file to the remote FTP server.--exec exampleEXEC dbo.up_FTPPushFile 'c:\temp\test.txt', 'server', 'user', 'password'

5 (2)

2002-12-09

1,767 reads

Add Check Digit (LUHN)

If you ever need to create a credit card like number this stored procedure is for you.Most credit cards contain a check digit, which is the digit at the end of the credit card number. To generate the check digit, the LUHN formula is applied to the number. To validate the credit-card number, the check […]

2002-11-30

766 reads

Blogs

A Memory-Optimized Roundup – T-SQL Tuesday #117

By

The summary from my fourth T-SQL Tuesday hosting for #117. This time I was...

How do you debug your spark-dotnet app in visual studio?

By

When you run an application using spark-dotnet, to launch the application you need to...

More PowerShell Remoting coverage in dbatools

By

Starting on dbatools version 1.0.31 we introduced better coverage for commands that make use...

Read the latest Blogs

Forums

Export to CSV

By Jenny77

Hi,   i am trying to export a table into csv, and it should...

CHECKDB

By VastSQL

My user database drive have about 100GB free space now and the database is...

Sql 2014 sp3 - extra stats created

By sqlguy7777

Has anyone seen Sp3 creating extra unexpected stats on tables after or during application...

Visit the forum

Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers