SSIS Variable in Execute SQL Task to Drop SQL Server Login

Posted on 2013-01-08
Medium Priority
Last Modified: 2016-02-10

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



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.

Question by:ezkhan
1 Comment
LVL 21

Accepted Solution

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

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

How to leverage one TLS certificate to encrypt Microsoft SQL traffic and Remote Desktop Services, versus creating multiple tickets for the same server.
My client has a dictionary table. They're defining a list of standard naming convention. Now, they are requiring my team to provide us a mechanism how to match new incoming data with existing data in their system.
SQL Database Recovery Software repairs the MDF & NDF Files, corrupted due to hardware related issues or software related errors. Provides preview of recovered database objects and allows saving in either MSSQL, CSV, HTML or XLS format. Ensures recov…
Stellar Phoenix SQL Database Repair software easily fixes the suspect mode issue of SQL Server database. It is a simple process to bring the database from suspect mode to normal mode. Check out the video and fix the SQL database suspect mode problem.

607 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