Solved

SSIS Variable in Execute SQL Task to Drop SQL Server Login

Posted on 2013-01-08
1
279 Views
Last Modified: 2016-02-10
Hi,

I have a requirement where I need to drop SQL Server Login using SSIS SQL Task and SSIS variables.

e.g.,

DROP LOGIN ?

while input parameter is setup against ? i.e., LoginName.

When I run the package it says there is a syntax error after '?'

Any comments and suggestions are appreciated.

Thanks.
0
Comment
Question by:ezkhan
1 Comment
 
LVL 21

Accepted Solution

by:
Alpesh Patel earned 500 total points
ID: 38758524
Use Expression to create dynamic query in SQL Task.
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

In couple weeks ago, I encountered an extremely difficult problem while deploying 2008 SSIS packages to a new environment (SQL Server 2014 standard).  My scenario is: We have one C# application that is calling 2008R2 SSIS packages to load text fi…
Here's a requirements document template for an integration project (also known as Extract-Transform-Load or ETL) based on my development experience as an SQL Server Information Services (SSIS) developer over the years.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now