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

2,352 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

1,297 reads

Blogs

Pluralsight Free April

By

It’s a few days into April, but not too late I hope to mention...

Daily Coping 7 Apr 2020

By

I’ve started to add a daily coping tip to the SQLServerCentral newsletter, which is...

Reading a SharePoint List with Azure Logic App

By

Sometimes in life you have to do things you really don’t like to do....

Read the latest Blogs

Forums

Understanding and Improving Query Plans

By girac127

Hi everyone. I have a process that is taking a long time to execute...

Daily Coping Tip 7 Apr 2020

By Steve Jones - SSC Editor

Daily Coping Tip: Rediscover your favourite music that really lifts your spirits. My thoughts:...

Developer Edition

By Admingod

I am proposing to the business that we use SQL 2019 Developer in our...

Visit the forum

Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers