Viewing 15 posts - 16 through 30 (of 37 total)
Learner44 (6/11/2015)
My requirements are little different.I want to send to each individual their own record. Let's say how much sales he did on that day!
Yes, that's exactly the kind of...
June 11, 2015 at 1:05 pm
I really enjoyed the piece, Use SSIS to send emails[/url] by Joe Millay, and have used it as a basis for my own implementation.
The article does represent a complete...
June 8, 2015 at 8:46 am
Here's my quick stab at it. Not sure about performance on a super large data set, but maybe the framework will help.
- Adam
ifOBJECT_ID('tempdb..#Orders') IS NOT NULL DROP TABLE...
April 21, 2015 at 10:14 am
Here's one solution. Excuse my simplistic sample data. I wasn't sure by what conditions an NPI might not be distinct, so I included some duplicates to demonstrate that...
March 12, 2015 at 1:10 pm
Luis Cazares (3/11/2015)
And just to note that you don't begin CTEs with a semi-colon, you terminate the previous statement (and all if possible) with it.
I knew when I wrote it...
March 11, 2015 at 10:14 am
After further thought, this one might be more flexible for you.
Again - I thought there might be more status codes you need to filter out other than just "1" so...
March 11, 2015 at 9:21 am
Here's a ultra-simplistic version.
- Adam
;with Claim_Status as
(
select 100 as [Claim Number] , 1 as [Status]
union all select 100, 3
union all select 101, 1
union all select 102, 1
union all select...
March 11, 2015 at 9:07 am
Try this:
If exists
(
select CPUTM
from [dbo].[System_Management_Facility]
where CPUTM > '0:00:55.38'
) PRINT 'GOOD'
February 18, 2015 at 12:57 pm
On a side note, the question was not assigned a Category. I now have 2 points in category NULL, and 2 in category "No Category". I am not sure...
February 4, 2015 at 7:50 am
Or you can
select ASCII( col1 )
to see what nonprintable characters are in there.
(Keep in mind, that will only show you the first one.)
January 16, 2015 at 12:47 pm
I, like Steve, have been intentional about trying to stretch my SQL skills this year. Part of that plan has been that I now follow a number of T-SQL...
November 21, 2014 at 6:03 am
From
http://msdn.microsoft.com/en-us/library/ms173854.aspx
Returns the angle, in radians, between the positive x-axis and the ray from the origin to the point (y, x), where x and y are the values of the two...
November 6, 2014 at 9:03 am
Something like this, I imagine:
UPDATEYourTable
SET[YourPathname] = REPLACE([YourPathname] , '\QA\' , '\PROD\' )
- Adam
October 28, 2014 at 11:24 am
SELECT
LEFT(Employee_Name , 12) as 'Employee First 12'
fromtbl_Employees
October 27, 2014 at 8:13 am
Does this get you close? I assumed that KEY and PMI were supposed to be the same field.
- Adam
;with [DATA] as
(
select 'DINO' as [PMI], '12345' as , '01/05/2015'...
October 22, 2014 at 1:05 pm
Viewing 15 posts - 16 through 30 (of 37 total)