Viewing 15 posts - 736 through 750 (of 2,894 total)
Then use CASE WHEN:
...
WHERE CASE WHEN DateTimeInterval = 'mm'
...
January 25, 2013 at 8:08 am
Dynamic sql.
January 25, 2013 at 5:47 am
Minnu (1/25/2013)
Please suggest the best join to get the records(avioiding duplicates)
am having 20 joins.
if particular record is not there in that table, then it should not join that table,...
January 25, 2013 at 3:51 am
leesider (1/24/2013)
January 24, 2013 at 3:53 pm
I have tried the following without success
WHERE orderdate >= '31/10/2010'
Any error returned?
Anyway, whenever you are using date strings, make sure they are in non-locale dependent format. Best is ISO:...
January 24, 2013 at 9:56 am
Whenever you want to see records in tables selected in the specific order, you should apply ORDER BY.
Actually, you cannot enforce the order of how data is stored physically on...
January 24, 2013 at 9:49 am
you need to learn how to use OUTER JOIN's (LEFT or RIGHT)
SELECT t1.col1, t2.col2
FROM table1 AS t1
LEFT JOIN table2 AS t2
ON...
January 24, 2013 at 8:00 am
And OP only wanted to sort his SELECT...
😉
But on this forum we do love to go dip! :hehe:
Merry Christmas to everyone 😀
December 22, 2012 at 5:36 am
kapil_kk (12/22/2012)
December 22, 2012 at 5:31 am
Phil Parkin (12/21/2012)
Eugene Elutin (12/21/2012)
Phil Parkin (12/21/2012)
...
And as to common practice - not in my experience. I guess it depends on whatever standards are in place where you are working.
In...
December 21, 2012 at 11:19 am
Phil Parkin (12/21/2012)
...
And as to common practice - not in my experience. I guess it depends on whatever standards are in place where you are working.
In SSMS Object Explorer, go...
December 21, 2012 at 8:29 am
If your values potentially may contain separator characters then you have two choices:
use more complex multi-character separator, for example ~^~. (very often used practice eg. for BCP) or...
December 21, 2012 at 8:24 am
I think it will.
Why you don't have any WHERE condition? Do you really intent to bring all fact records?
You outer join to your dimensions on their legacy keys. So...
December 21, 2012 at 8:16 am
You can do it in SSRS.
Create a chart and select your series. Right-click series and select Series Properties.
Select Border. You can use function for setting different line styles.
December 21, 2012 at 8:06 am
Abu Dina (12/21/2012)
If you want SQL Server to retain your comments within the stored procedure then you need to include the comments within...
December 21, 2012 at 7:53 am
Viewing 15 posts - 736 through 750 (of 2,894 total)