Viewing 15 posts - 2,461 through 2,475 (of 7,187 total)
No. It's still a result set, not a scalar value, even if your result set happens to have only one row and one column. Use Parameter Mapping instead.
John
July 13, 2016 at 3:14 am
Not quite sure what your requirement is here, but you could try joining your table to grupyTowarowe on materialGroup = grupa.
John
July 13, 2016 at 3:06 am
Are you using the Result Set page? If so, don't - it's for result sets, not scalar values. Use Parameter Mapping instead.
John
July 13, 2016 at 2:46 am
The answer is in the error message. You can't use an aggregate function ([font="Courier New"]SUM[/font]) on an expression containing a subquery ([font="Courier New"]SELECT grupa FROM grupyTowarowe WHERE typ LIKE...
July 13, 2016 at 2:15 am
If you're editing your package in BIDS or SSDT then the value shown will be the value at design time, not the value at run time. Do you have...
July 13, 2016 at 2:08 am
Vin
This might work. It should if you're running a statement(s) that doesn't already have a cached plan. I'm not sure what will happen if you're running one that...
July 12, 2016 at 5:58 am
Not with the data you've posted, it doesn't. I'm guessing the reason you get the error is that you're running the query against one or more rows that don't...
July 12, 2016 at 5:30 am
Something like this?SELECT
c.session_id
,t.text
FROM sys.dm_exec_connections c
CROSS APPLY sys.dm_exec_sql_text(c.most_recent_sql_handle) t
John
July 12, 2016 at 5:04 am
Use sp_configure. I think there's also a catalog view, called something like sys.configurations, that you can query directly.
John
July 12, 2016 at 2:23 am
Backup, restore, change compatibility level to 100, remove old users, create new ones.
John
July 11, 2016 at 8:35 am
Voldemar, you're mixing up variables and parameters. If you want to use a variable, build up the SQL statement in the variable outside of the data flow task. ...
July 11, 2016 at 8:06 am
Luis Cazares (7/11/2016)
Mohit Dhiman (7/11/2016)
3 - variable is used as ? in sq statement as param -- DOES NOT WORK
Can't see why this should not work. Which version of SSIS...
July 11, 2016 at 7:41 am
Miguel
Get sp_whoisactive and run it when you see the blocking. That'll tell you who or what is doing it, and you can ask or force them to disconnect.
John
July 8, 2016 at 7:37 am
Mid-morning for me, Jeff. Easier to think when you've been awake for a few hours!
John
July 8, 2016 at 7:32 am
Unless you upgrade to SQL Server 2016 and use the Query Store, you're not going to be able to get what you're looking for with total accuracy. You can...
July 8, 2016 at 7:31 am
Viewing 15 posts - 2,461 through 2,475 (of 7,187 total)