Forum Replies Created

Viewing 15 posts - 136 through 150 (of 455 total)

  • RE: CTE question - nned to always show level 1 parent

    Can you please post how do you want to see the output data with an example so that it would be easy to understand what you are looking for.

    Thanks

     

    Prasad Bhogadi
    www.inforaise.com

  • RE: Insufficient memory Error

    Check this hotfix if it helps

    http://support.microsoft.com/kb/912439

    Thanks

    Prasad Bhogadi
    www.inforaise.com

  • RE: SQL Server 2000

    I feel the forum caters enough for SQL Server 2000 and SQL Server 2005. Whenever a product has a upgraded version released and people start using it, they come across...

    Prasad Bhogadi
    www.inforaise.com

  • RE: What is Table Scan and Index Seek? ??????

    TRY.....CATCH exception handling is something that is introduced in SQL Server 2005 to introduce a new paradigm of Error Handling in SQL. However it is a proven and familiar methodology...

    Prasad Bhogadi
    www.inforaise.com

  • RE: Dynamic Order By and Sort

    Hi Gary,

    Please post your SQL Query so that we can suggest you the solution.

    Prasad Bhogadi
    www.inforaise.com

  • RE: Order a numeric field

    I assumed so that it could be a VARCHAR, makes sense to change the datatype to desired format unless you really forsee a condition where it has potential need to...

    Prasad Bhogadi
    www.inforaise.com

  • RE: Order a numeric field

    Select <FieldName>

    FROM

    <TableName>

    ORDER BY

    <FieldName> ASC

     

    Prasad Bhogadi
    www.inforaise.com

  • RE: Problems in Showing Graphs

    Use this query to fetch only the data where employee has more than one address. You can also use derived tables.

     

    SELECT *

    FROM

       mst_ServiceUser as Users

    INNER JOIN

      mst_Address as...

    Prasad Bhogadi
    www.inforaise.com

  • RE: How can I use Exec within a Select statement

    Well using cursors are least recommended unless otherwise there is no other way to fulfil your requirement. UDF would have been handy if Danial had no limitation with respect to...

    Prasad Bhogadi
    www.inforaise.com

  • RE: How can I use Exec within a Select statement

    For your requirement, it makes more sense to use a User Defined Function.

     

    Prasad Bhogadi
    www.inforaise.com

  • RE: left join causing results to be multiplied.

    I have not tested this and please ignore if doesnot yeild the desired results.

     

    SELECT  users.Uname,

     users.UnameFirst,

     users.UnameLast,

     ROUND(SUM(workcompleted.WCmileage), 2)/(COUNT( WXlinkItemID)) AS totMileage,

     ROUND(SUM(workexpense.WXamount), 2) as totExpenses

    FROM

     workrequest,

     worktask,

     users,

     workcompleted

    LEFT OUTER...

    Prasad Bhogadi
    www.inforaise.com

  • RE: Problems in Showing Graphs

    You can set the Hidden property to False using expressions and checking the AddressID. But its better to handle this in your stored procedure or query. Post your Query or...

    Prasad Bhogadi
    www.inforaise.com

  • RE: How to Cast ''''YES '''' & datetime field for display purposes

    DECLARE @Date DATETIME

    SET @date = (SELECT GETDATE())

    SELECT 'Yes ' + CONVERT(VARCHAR(10),@date,101) + ' '  + CONVERT(VARCHAR(10),@date,108)

     

     

    Prasad Bhogadi
    www.inforaise.com

  • RE: A foreign column references to the same table?

    It can also be termed as Master and Child records residing on the Same table. One LeaID can be referenced by Multiple PriorLeaseIDs .

     

    Prasad Bhogadi
    www.inforaise.com

  • RE: A foreign column references to the same table?

    AS Posted by Micheal, you are not clear on what you want to know. However from your post LeaID is your Primary Key of Lease table and PriorLeaseID is a...

    Prasad Bhogadi
    www.inforaise.com

Viewing 15 posts - 136 through 150 (of 455 total)