Viewing 15 posts - 14,911 through 14,925 (of 15,381 total)
Well...SSRS is a reporting service that uses a myriad of web services and web pages. IIS is the service that hosts those web services and pages. I don't really understand...
March 11, 2011 at 10:32 pm
You will need to use an update trigger. In this trigger are two virtual tables (inserted and deleted). Inserted is the new values and deleted contains the values prior to...
March 11, 2011 at 10:28 pm
I think you asking if you can find out which SSIS package is inserting data? I don't know of any way to do that. You will most likely have to...
March 11, 2011 at 10:24 pm
The problem is right here
SELECT @v_pkStr = @v_pkStr
You define the variable but nothing is assigned to it so at this point it's value is NULL. NULL + anything will...
March 11, 2011 at 10:16 pm
-- Insert statements for procedure here
declare @cols nvarchar(150)
declare @pivotIn ...
March 9, 2011 at 2:19 pm
tfifield (3/9/2011)
You can't use a variable in an IN () construct. It's one of those things we've all wished for. You will have to do the whole query...
March 9, 2011 at 2:12 pm
nevermind, I missed the grouping. Gus's is the correct way. I misread and thought you were just looking for a total count. :blush:
March 9, 2011 at 10:47 am
I assume this is a bit field?
select COUNT(*) - sum(cast(c2 as Int)) as Zero,
sum(cast(c2 as Int)) as One
from table1
March 9, 2011 at 10:46 am
Use the technique I showed you above and then just remove the columns you don't want to show.
March 9, 2011 at 10:32 am
pawan.boyina (3/9/2011)
select * from a table...
March 9, 2011 at 10:00 am
I don't think you want the hardcode group, that is why you are passing it in. Other than you just need to execute it.
March 8, 2011 at 3:25 pm
you pretty much did it above...
create procedure WEB_HR_ScreenTemplateUpdate {
@version500 varchar(50)
@version5_sales varchar(50)
@version500..slxhrscreentemplates.template_group varchar(50)
@version5_sales..slxhrscreentemplates.template_group varchar(50)
}
as
just change your variable names to ones that work and use the insert.
March 8, 2011 at 3:06 pm
You showed using dynamic sql in your first post. Just modify that insert to use variable names instead of the hardcoded ones and execute it.
set @sql = 'insert ' +...
March 8, 2011 at 2:33 pm
Viewing 15 posts - 14,911 through 14,925 (of 15,381 total)