Viewing 15 posts - 766 through 780 (of 1,229 total)
To handle the non date values, incorporate the use of a conditional split transformation. You are the best judge on what the non date values are like. You can state...
February 21, 2015 at 12:22 am
I use this when I am developing and want to set up the structure to easily comment out conditions in the WHERE clause if needed. It was weird to me...
February 20, 2015 at 10:51 pm
Jeff Moden (2/17/2015)
MMartin1 (2/17/2015)
you could employ a simple...
February 17, 2015 at 3:50 pm
Using tables like a Calendar, Course, TimeOfDay table (separate from Calendar which implies a day as the primary key) or Period ...
you could employ a simple snapshot table that...
February 17, 2015 at 1:25 pm
Hi Jeff, from reading your thoughts I hope I understood all of the points you made. I drew out here a base and audit table as
CREATE Table table1
(
IDINT IDENTITY(1,1)...
February 17, 2015 at 12:31 pm
Sumit Rastogi (2/9/2015)
SELECT DATENAME(month, @MonthNumber)Example: SELECT DATENAME(month,1)
Result: January
Just to note, the DATENAME functions requires a date for the second argument. They way you have it you are expressing 1900-01-01. If...
February 11, 2015 at 7:08 pm
Eric M Russell (2/3/2015)
MMartin1 (2/3/2015)
February 3, 2015 at 9:25 pm
Koen Verbeeck (1/19/2015)
* Read the flat file like you normally would, i.e. with a flat file source. You can use a for each loop container with a...
February 3, 2015 at 1:29 pm
Maybe I missed it somewhere but it seems as though you are reporting from the same system you insert into. You generally want to build a warehouse to store your...
February 3, 2015 at 12:53 pm
The ".." represents the default schema for the security context accessing the data, without you having to type it. Let us say that I am logged in as loginA. Under...
January 28, 2015 at 7:21 pm
Could the 'safe' plan that incurs a higher cost be helped by updating statistics?
January 28, 2015 at 12:41 pm
Luis Cazares (1/27/2015)
SELECT columns_to_return
FROM dbo.XYZ
WHERE date_column > REPLACE( CONVERT(...
January 27, 2015 at 1:10 pm
I too like the column on the left and expression on the right. I also like to use the year argument to know I am interested in one year back,...
January 27, 2015 at 12:08 pm
I thought something like the following may be helpful as well , based on your requirements of course...
select postalCode = Case when patindex('%[0-9]%',postalcode) > 0
...
January 27, 2015 at 11:48 am
keshav_nitrkl (1/23/2015)
My report is having three fields : NAME || Level || ID .I have a single dataset and a filter to my dataset. The dataset filter should work...
January 26, 2015 at 11:47 am
Viewing 15 posts - 766 through 780 (of 1,229 total)