Viewing 15 posts - 3,616 through 3,630 (of 4,820 total)
CPiacente (6/22/2015)
June 22, 2015 at 7:33 am
dhanekulakalyan (6/19/2015)
Hi Gail,I just gave one example 141928888M here thats the claimid field there are 3.7 claimids eg: 22141213888M or 33333356A123 something like that.
Thanks,
Kalyan
I don't see how that answers...
June 19, 2015 at 2:56 pm
CPiacente (6/19/2015)
Thanks for the suggestion. I tried it but I got the same results. Any other suggestions?
There's always the option of using a CASE statement to set the value to...
June 19, 2015 at 2:29 pm
jparks 85798 (6/19/2015)
Thank you SO much for the assistance. I didn't think about removing the extraneous Minutes and seconds. I adjusted the code to pull from my...
June 19, 2015 at 2:17 pm
With SQL 2012, the query can actually be simplified:
DECLARE @Spec1 AS TABLE (
Spec1ID int IDENTITY(1,1) NOT NULL PRIMARY KEY CLUSTERED,
Channel int NOT NULL,
[Timestamp] datetime NOT NULL,
Lambda decimal(8, 2) NOT NULL,
[Power]...
June 19, 2015 at 9:02 am
CPiacente (6/19/2015)
I have a formula I am having difficultly with and cannot seem to find a solution for it. My understanding of the PERCENT_RANK function is it will break up...
June 19, 2015 at 8:51 am
GilaMonster (6/19/2015)
dhanekulakalyan (6/19/2015)
June 19, 2015 at 8:42 am
Lynn Pettis (6/18/2015)
sgmunson (6/18/2015)
Lynn Pettis (6/17/2015)
The problem is the commas in the string. Try this select statement:select CONVERT(NUMERIC(17,2),replace(@stg,',',''))
Yes, it will get rid of the commas, but it seems odd...
June 18, 2015 at 8:09 pm
jparks 85798 (6/18/2015)
declare @start datetime
declare @end datetime
set @start = GetDate()
set @end = dateadd(hour,72,GetDate())
while @start < dateadd(day,30,getdate()) begin
Insert Into...
June 18, 2015 at 7:47 pm
A couple of thoughts:
1.) Any chance you can UPDATE the base table's CID field to be LTRIM(RTRIM(CID)) on an overnight job and no longer have to deal with those parts...
June 18, 2015 at 3:35 pm
What do we do if the quantity from any one shop isn't large enough?
June 18, 2015 at 3:25 pm
For the original poster, the ROW_NUMBER() function you're looking for would look like this:
ROW_NUMBER() OVER(PARTITION BY [Name] ORDER BY [Date]) AS Weekdays
The PARTITION BY portion will start the numbering over...
June 18, 2015 at 3:11 pm
Travis Dean (6/18/2015)
June 18, 2015 at 2:50 pm
sqlinterset (6/18/2015)
create table #cs([Year] float,
[Week] float,
[Month] float,
[C#] float,
[Dept] nvarchar(255)
,[Issue] nvarchar(255), [Type] nvarchar(255), [Dept age]...
June 18, 2015 at 2:31 pm
sqlinterset (6/18/2015)
June 18, 2015 at 2:14 pm
Viewing 15 posts - 3,616 through 3,630 (of 4,820 total)