Viewing 15 posts - 14,881 through 14,895 (of 15,381 total)
So you are saying the you open SSMS on your local machine and connect to Server1 and the IsDate check returns 1.
Then you RDP to Server1, open SSMS and...
March 16, 2011 at 9:44 am
Lowell (2/28/2011)
let me know if this model works for you:
SELECT
OtherFields,
CASE
...
March 16, 2011 at 9:34 am
It is a pretty odd requirement but then this is obviously not the real table structure and data.
I created the ddl statements and data inserts so that I can test...
March 16, 2011 at 9:00 am
Are the "missing" ones NULL or empty string? have you tried something like
Where IsNull(open, '') <> ''
March 16, 2011 at 8:41 am
What exactly are you trying to do? Given the data you posted what is the desired output?
March 16, 2011 at 8:25 am
Ashwin9 (3/16/2011)
Iām sending messages to all staff members.
But I want to validate this when we are off.
i.e. messages should not be sent except office hours.
I know...
March 16, 2011 at 8:10 am
In spite of the very legitimate questions about your architecture I believe the following should get you what you need.
update TableName set asofdate2 = Cast(cast(asofdate as varchar) as datetime)
March 15, 2011 at 3:13 pm
Wow changing columns names from 'H#res' to 'H.res' is going to open an enormous can of nastiness.
things like
select #gorge, H#res, Er#es
will have to become
select [.gorge], [H.res], [Er.es]
Just...
March 15, 2011 at 3:03 pm
The Edit rows feature is by no means anything you should be using to edit your data. The edit feature runs a transaction until you close it and when you...
March 15, 2011 at 11:05 am
WayneS (3/15/2011)
Sean Lange (3/15/2011)
Wayne it was your signature I was thinking of as I was adding my reply. Applies 100% in this case.
š
(You didn't think of my article for explaining...
March 15, 2011 at 11:00 am
you try this...
[/code]
left join PLNotice pln on pln.PolicyID = hm.PolicyID and pln.InceptionDate = hm.InceptionDate
and (
(hm.CodeDesc ='UNDERWRITING' and pln.noticetype = 'UW')
or
(hm.CodeDesc = 'NONRENEW' and pln.noticetype = 'NR')
or
(hm.CodeDesc In ('RENEWALDNOC','DNOC')...
March 15, 2011 at 10:56 am
Wayne it was your signature I was thinking of as I was adding my reply. Applies 100% in this case.
March 15, 2011 at 9:46 am
Why does your customer care if it is identity or not? Micro managing customers are the worst.
Unfortuantely you can't just remove the identity property directly. You will have to...
March 15, 2011 at 8:55 am
You are pretty close but you cant set a column equal to a select statement.
UPDATE TABLE_PRODS
SET PRODNO = RIGHT(TP.PRODNO, TPL.PRODNOLEN)
...
March 15, 2011 at 8:51 am
Looks a lot like homework.
select ROW_NUMBER() over (partition by deptname order by deptname), ename, deptname from t1 order by ename
You should read up on the ROW_NUMBER function and by all...
March 15, 2011 at 8:47 am
Viewing 15 posts - 14,881 through 14,895 (of 15,381 total)