Viewing 15 posts - 436 through 450 (of 623 total)
I can consider that but its probably not the best solution in my situation
-There are networking restrictions between the source and target. The target doesn't know the source exists.
-I'd like...
October 18, 2011 at 12:24 pm
http://msdn.microsoft.com/en-us/library/bb510625.aspx
target_table cannot be a remote table
I have tested this and it seems so.
October 18, 2011 at 11:46 am
>> How important is it that these are in an exact order?
Its not critical to the functioning of the app. Its really a matter of understandability to the end user...
October 17, 2011 at 10:00 am
Thanks!
DECLARE @retval int
EXECUTE @retval = sp_executesql @String, @params, @ID
if @retval = 0
print 'execution successful';
else
print 'execution failed';
October 13, 2011 at 4:08 pm
--CREATE PROCEDURE uspSub
--@ID INT
--AS
--SELECT getdate()
--CREATE PROCEDURE uspSub2
--@ID INT
--AS
--SELECT getdate()
DECLARE @String nvarchar(4000)
DECLARE @params nvarchar(4000)
DECLARE @Procedure varchar (150)
DECLARE @ID INT
--I would like to set this flag to Y if...
October 13, 2011 at 3:46 pm
>>However, can I ask a different question, why do you want to go about building the command dynamically?
I could be calling multiple procedures here in (excuse me for saying this)...
October 13, 2011 at 3:39 pm
If you want to export a different set of results depending on the value of your field called ref you can accomplish this server side or package side.
Server side
-prepare a...
October 10, 2011 at 1:30 pm
Correct, sorry about that. Revised
--5
INSERT INTO #Transactions (ItemID,StartDate,EndDate) VALUES (5,'1/1/2001',NULL)
INSERT INTO #Transactions (ItemID,StartDate,EndDate) VALUES (5,'1/1/2001','12/1/2002')
INSERT INTO #Transactions (ItemID,StartDate,EndDate) VALUES (5,'1/1/2003',NULL)
INSERT INTO #Transactions (ItemID,StartDate,EndDate) VALUES (5,'1/1/2003','9/1/2003')
INSERT INTO #Transactions (ItemID,StartDate,EndDate) VALUES (5,'1/1/2004',NULL)
September 27, 2011 at 9:56 am
Thanks!
>>What exactly goes into #MyInternalList ?
MyInternalList is determined by internal business logic, it will change day to day. The external list is maintained by my vendor.
The transactions table...
September 27, 2011 at 9:49 am
I guess I could go on the assumption that if the item appears on the list a number of times that is even then it has been added and removed....
September 27, 2011 at 9:17 am
Thank you. I am looking at adding EXECUTE permissions for this user. My only concern is security issues. I believe permission on this procedure was removed when the 'lockdown' tool...
September 20, 2011 at 9:06 am
The GUI works fine with an administrative account
Using the non-privileged account and running
declare @SmoRoot nvarchar(100)
exec master.dbo.xp_instance_regread N'HKEY_LOCAL_MACHINE', N'SOFTWARE\Microsoft\MSSQLServer\Setup', N'SQLPath', @SmoRoot OUTPUT
I get:
EXECUTE permission denied on object 'xp_instance_regread', database 'master',...
September 16, 2011 at 3:16 pm
Are you trying to give other unprivileged users the ability to kick off the package? If so setting appropriate permissions can be tricky. One potential solution is have the procedure...
September 16, 2011 at 12:39 pm
You may find that the use of a calendar table will make you query simpler.
However you get results it looks like you want to pivot the TimeLineDate field...
September 14, 2011 at 9:19 am
Viewing 15 posts - 436 through 450 (of 623 total)