Viewing 15 posts - 766 through 780 (of 1,231 total)
Luis Cazares (2/12/2015)
sonchoix (2/12/2015)
dwain.c (2/11/2015)
This...
February 23, 2015 at 5:35 pm
Running the command
EXEC DBCC FreeProcCache
and witnessing the expected performance makes your case for parameter sniffing.
February 21, 2015 at 12:36 am
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
Viewing 15 posts - 766 through 780 (of 1,231 total)