What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 131 Stack Exchange communities.

Actually right now on http://stackoverflow.com I see a question which is related to PHP or MySQL.

How to display hours between two dates in mysql

and user wants the answer either in MySQL or PHP and some intelligent person gives answer in PHP and accepted as answer . as this related to sql so i tried to solve this in MS SQL as I have this platform and I have found a suitable solution.

Should I post that code in reply of that question or not?

As this is not related to MySQL but it is related to SQL Server 2005 in general and somebody in future who working with C# and MSSQL can have the same query and can get the answer for this.

share|improve this question

1 Answer 1

Always add additional details, further information or other solutions to an already answered question... but only if they fit the question.

In this case it's a no. The question is about and , not about . If your answer is generic SQL on the other hand, then yes, add it.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .