Viewing 15 posts - 1 through 15 (of 101 total)
Alexander Suprun (6/20/2012)
select SUM(a.t),pfrom @table3 a
where exists
(
select n
from @table3 t
where (p = 1 or...
June 20, 2012 at 2:08 pm
Thanks for the reply david but it didn´t come out what i expected.
For the record i´ve managerd to get the results as i want but i think that maybe...
June 20, 2012 at 12:39 pm
Thanks to everyone. Your input really help me into find the solution.
December 21, 2011 at 4:46 am
Lowell (12/19/2011)
December 19, 2011 at 3:24 pm
ALZDBA (1/21/2011)
Just assign an alias to your nested query expression and it will be OK
select count (*) from
(select codaux,nomaux from aqua.softland.cwtauxi
except
select codaux,nomaux from 0718.softland.cwtauxi) as x
thanks it worked.!
Now,..can...
January 21, 2011 at 10:42 am
skcadavre (1/21/2011)
select count (codaux) from
(select codaux,nomaux from aqua.softland.cwtauxi
except
select codaux,nomaux from 0718.softland.cwtauxi)
Do you understand?
hi!.
Since i am getting a sintax error i thought that no other info was needed.
But if...
January 21, 2011 at 10:07 am
Sendmail will send ONE email for each client (@client, cliente) with a valid email (@correocliente,correocliente).Also it will send one email to each salesperson notifying them that exist a record for...
January 6, 2011 at 7:51 am
Thanks jeff!!
i´ve been testing all week and i finally got what i needed.
I will post it tomorrow and hopefully you and some others will give me your advices to...
January 5, 2011 at 5:45 pm
I appreciate all your advices and your answer.
I´ve changed the data type of the columns:
CREATE TABLE [dbo].[correosaclientes](
[cliente] [varchar](10) COLLATE SQL_Latin1_General_CP1_CI_AI NOT NULL,
[ningreso] [int] NOT NULL,
[proyecto] [char](100) COLLATE Modern_Spanish_CI_AS NULL,
[fingreso]...
January 1, 2011 at 7:23 pm
Thanks lowell!! i was missing the replace function!!
i got this
alter TRIGGER enviacorreos on infarchivo
for insert
AS
declare @infanlab int
declare @infanmuestra char(13)
declare @infaobs ...
December 16, 2010 at 2:30 pm
Craig Farrell (9/9/2010)
For an easy answer, wrap the entire item with:
IF EXISTS (SELECT 1 from inserted where idcontrato='2' and eicanalid = '91')
BEGIN
--The rest of your trigger code goes here
END
thanks! that...
September 9, 2010 at 4:38 pm
thanks for the input.
the software is made by the IT team of the company where i work.
i have a new problem with the following code.
create TRIGGER trgAfterInsert ON eicanalesres
FOR...
September 9, 2010 at 3:34 pm
Viewing 15 posts - 1 through 15 (of 101 total)