Viewing 15 posts - 391 through 405 (of 462 total)
You mean to say you need to merge these two tables, or join them?
September 8, 2009 at 1:41 pm
The subquery here is acting as an 'expression' and I think since this is returning more than one value, it can not be used as an expression. Query would throw...
September 8, 2009 at 1:28 pm
There could be ways to do this without the dynamic query also, but i can think of this at the moment,
declare @wheresql nvarchar(max)
declare @selectsql nvarchar(max)
declare @sql nvarchar(max)
Set...
September 8, 2009 at 7:52 am
( Profession= CASE when @Profession 0 then
-- (select Profession from BK_TagSMS_Access
----select value from BK_TagSMS_ParameterSplit(@Profession,',')))
@Profession
else Profession end)
AND
Not sure if I understood your requirement correctly but if this part of...
September 8, 2009 at 4:15 am
Paul White (9/7/2009)
PP (9/7/2009)
I mean, there were 114 records with 2009 as...
September 7, 2009 at 9:59 pm
Thanks Bob for the reply,
I just ran the script given by Paul completely, I was just trying to understand how thats happening.Thats it.
I mean, there were 114 records with...
September 7, 2009 at 1:32 pm
Dear Paul,
Can you please help me understand how this is happening? :hehe:
SELECT count(*)
FROM dbo.DateIndexTest -- returns 1000 records
SELECT count(*)
FROM dbo.DateIndexTest
WHERE any_date_year = 2010...
September 7, 2009 at 12:42 pm
Thanks GSquared 🙂
yeah, snehal.gamaji.career should not be bothered about the value for which the trigger fires as long as the purpose is achieved unless there is any special reason why...
September 3, 2009 at 11:01 am
Gianluca Sartori (9/3/2009)
INSERT INTO TABLE1 select *, date_deleted
from TABLE2
Where KEY_ID In (Select KEY_ID From table3 Where Invoice_Num in (select Invoice_num from #TempDelete))
I suggest that you replace the *...
September 3, 2009 at 4:26 am
Yes, I know its bit less elegant. Execute task should have worked! I dont know whats happening. Just to reproduce the problem, I tired to create execute task with my...
September 3, 2009 at 4:09 am
Anything that you could see in eventvwr?
September 2, 2009 at 12:47 pm
sorry I am not sure exactly what could be the problem and could not reproduce it, but I do have similar setup where I do the zipping, I am using...
September 2, 2009 at 12:31 pm
Is there a logging option in that zipping tool?
September 2, 2009 at 9:32 am
Scott (9/2/2009)
September 2, 2009 at 9:22 am
GSquared (9/2/2009)
create trigger dbo.NameStuff on dbo.MySourceTableafter insert
as
set nocount on;
insert into dbo.MyTargetTable (Name)
select Name
from inserted
where Name is not null;
It'll look something like that. If you select from the "inserted" table...
September 2, 2009 at 9:12 am
Viewing 15 posts - 391 through 405 (of 462 total)