Viewing 15 posts - 1,951 through 1,965 (of 6,036 total)
Jeff Moden (3/28/2013)
OCTom (3/28/2013)
May 22, 2013 at 5:30 pm
Lynn Pettis (5/22/2013)
May 22, 2013 at 4:54 pm
Eugene Elutin (5/22/2013)
geoff5 (5/21/2013)
However I would also enforce order by CaseIs, just in case there are different CaseId's with the same MAX(CreatedDate)
Spot on!
May 22, 2013 at 3:43 am
ssismaddy (5/20/2013)
However, i need to start from 7/5/4 AM every sunday depends on the value of the variable supplied.
If you run the query on 2013-05-19 06:00:00.000 - what output would...
May 22, 2013 at 12:09 am
And of course, it must say:
SELECT s.*
to be precise. 🙂
May 21, 2013 at 11:56 pm
I believe Sean's solution has an extra unnecessary step.
If to use the filtering subquery in the JOIN it may provide sorting criteria as well.
Then CTE query may be excluded:
SELECT *...
May 21, 2013 at 11:53 pm
Eugene Elutin (5/9/2013)
Why SQL has INT, SMALLINT etc, while it has DECIMAL which also can be used to stored integer values?
I guess because DECIMAL (9,0) (same capacity as INT)...
May 9, 2013 at 3:58 am
Alan.B,
I think you missing the point.
The question was not about use of XML in real life, but about why we cannot store XML files using good old nvarchar/ntext data type.
Your...
May 8, 2013 at 8:13 pm
First of all you need to make sure the Sourcetable (a1, a2,a3,a4,a5) have clustered index on (CompanyIdentifier,FieldIDNumber)
Second, if I understand correctly those joined tables are actually the same one joined...
May 8, 2013 at 5:18 pm
probably this would help:
http://msdn.microsoft.com/en-us/library/bb522493(SQL.105).aspx
May 7, 2013 at 10:22 pm
May 7, 2013 at 8:12 pm
Steven Willis (5/7/2013)
It's right there in your screenshot.
???
Did you actually read the question?
Right there at the top:
Abu Dina (5/7/2013)
Could someone help me generate the following grouping please? Sample data...
May 7, 2013 at 6:26 pm
Steven Willis (5/7/2013)
AND dsk2.ItemNumber = 2
OP asked for the last (most right) part of the string, not for the second.
May 7, 2013 at 6:20 pm
You are missing column RowNo in your table Heap.
Files keep the data in physical order as they've been added to the file (because that's a definition of "file").
tables in relational...
May 7, 2013 at 6:11 pm
SQL_Enthusiast (5/7/2013)
May 7, 2013 at 4:42 pm
Viewing 15 posts - 1,951 through 1,965 (of 6,036 total)