Viewing 15 posts - 24,601 through 24,615 (of 26,490 total)
Still not giving enough info. Perhaps reading this will help:
http://www.sqlservercentral.com/articles/Best+Practices/61537/
😎
June 14, 2008 at 9:50 pm
You really have missed part of what I asked for earlier. The definition for your tables, some sample data for the tables, the expected output based on the sample...
June 14, 2008 at 9:35 pm
And this helps us know what you've done so far how? Please reread my post and Jeff's post. Based on the information you have provided us so far,...
June 14, 2008 at 8:31 pm
We'd love to help you with your school project, but it would be better if you showed us what you have already done to try and solve the problem and...
June 14, 2008 at 7:59 pm
Actually, I don't expect perfection from everyone, but I would expect it to be done right. Right does not equal perfection.
I have written code that was right, it met...
June 14, 2008 at 7:43 pm
jarceri (6/13/2008)
WOW! Remind me to never use the float datatype for storing datetime data :). This is greatness let me try it out.
Okay. Never use a float type to...
June 13, 2008 at 3:19 pm
Here is some code to start working with:
declare @ADatetime float,
@DatePart int,
@TimePart int
set @ADatetime =...
June 13, 2008 at 3:06 pm
jarceri (6/13/2008)
Example: 20080613123001
Trying to convert this to...
June 13, 2008 at 2:47 pm
Matt, I think to characterize this as a religious war is a little dramatic. I'd simply call it a strong difference of opinion.
As I said earlier, I'll agree...
June 13, 2008 at 2:32 pm
You can also zip the plan to a .zip file and upload that to SSC.
😎
June 12, 2008 at 3:55 pm
Unfortunately, it doesn't look like the OP has been on SSC since yesterday morning. Hope he checks this thread and let's us know what's happening.
😎
June 12, 2008 at 3:13 pm
select 59/60 -- is doing integer division, that is why it returns 0
try: select 59/60.0
😎
June 12, 2008 at 3:09 pm
Matt Miller (6/12/2008)
June 12, 2008 at 2:52 pm
Jeff Moden (6/12/2008)
Lynn Pettis (6/12/2008)
Jeff Moden (6/12/2008)
The real fact of the...
June 12, 2008 at 2:35 pm
It appears that you are using a recursive CTE to do something that could be easily done with a Tally table.
Here is an article that will help you with this:...
June 12, 2008 at 1:05 pm
Viewing 15 posts - 24,601 through 24,615 (of 26,490 total)