Viewing 15 posts - 1 through 15 (of 44 total)
Nita Reddy (1/17/2007)
Hi Luke,
I am getting this similar stituation, How can I get the DTS I want to run. I want to change DTS pacakage in SQL agent with the...
February 23, 2009 at 8:08 am
or
select cust, sum(case prod when 'P' then 1 else 0 end) as 'No. of Product (P)' , sum(case prod when 'Q' then 1 else 0 end) as 'No. of Product...
June 19, 2008 at 5:25 am
hi,
do you have data in that table? if so, existing data should support the conversion to int
try to do this change in Management Studio (right click on the table, 'modify'),...
June 5, 2008 at 3:12 am
my understanding was that subsequent runs of statement #1 and statement #2 would return the same result (over time)- which does, if the table is not cleared and the insert...
June 5, 2008 at 1:38 am
forgot to say that records that meet those criteria should not be retrieved.
but i guess Jeff' s idea is faster
May 20, 2008 at 8:09 am
why don't you do it in sql?
and some limits, like
(ESASKSIZE is null and ESBIDSIZE is null)
or
(ESASKSIZE '' and ESBIDSIZE = '')
might work
May 20, 2008 at 8:06 am
true, thank you 🙂
i guess i've read the 'default' part and skipped the rest
April 30, 2008 at 6:54 am
shouldn't it be a 'none of the above' option? 😛
if i did not miss something in the qod.... i think that in sql2005 the default listening port is 1434
should i...
April 30, 2008 at 5:44 am
see convert function:
select convert(varchar(30),getdate(), 106) does almost what you want
there are different formats, maybe you find one that suits you
or... if you really want the full month name use datename:
SELECT...
April 10, 2008 at 6:40 am
i guess you can write something like
ADD CONSTRAINT chkRowCount CHECK (col1 IN(0,1,2,3,4,5) and col2 IN(0,1,2,3,4,5) and ... and col8 IN(0,1,2,3,4,5));
April 8, 2008 at 1:10 am
i do not think it's a matter of sql server version. ideally you/we should be able to answer without running the command.
but if you still want to run it,...
March 31, 2008 at 1:02 am
try
select substring(@email, 1, charindex('@', @email)-1)
Dragos
March 26, 2008 at 8:27 am
hi
maybe you could use a semaphore extended with a datetime value which you use to age the semaphore (if it shows the sp is running for x time and...
March 26, 2008 at 6:37 am
Andras is right
to fix, you could either compare the LastUpdate using between or convert it to 'only date'
select count(*) from TvsRecords where LastUpdate between
convert(datetime, convert(varchar(10),getdate()-1,101), 101)
and convert(datetime,convert(varchar(10),getdate(),101), 101)...
March 19, 2008 at 3:16 am
Jim Russell (3/11/2008)
Great suggestion Jeff!I don't suppose I can prefix the temp procedure name with a '#', so my "main" will need to drop it when done?
yes you can
check BOL...
March 11, 2008 at 5:53 am
Viewing 15 posts - 1 through 15 (of 44 total)