Forum Replies Created

Viewing 15 posts - 1,006 through 1,020 (of 1,124 total)

  • RE: Return result of dynamic query from function

    Assuming that, the column JoinDateQuery will only have two values i.e. "(select hiredate from employeeInfo)" or "(select getdate)" then you can define a bit column HasHireDate instead of JoinDateQuery,...

  • RE: How to Create a SQL Server Job for Running a SSIS Package

    The job failed. The Job was invoked by User sa. The last step to run was step 1 (AddRecord)

    Check, for what reason the step 1 (AddRecord) of the job is...

  • RE: Query Hierarchical data Using CTE in T-SQL 2005

    MAXRECURSION will not only restrict the recursion but also raises an error when it exceeds the specified value or the default value. You can overcome this by adding a...

  • RE: Microsoft Search Service

    Maverick (10/25/2007)


    I'm not sure but I read this somewhere here only on this site

    "The Full Text Search service is also known as Microsoft Search if you're looking for it under...

  • RE: Performance Issue!!Please help me

    Nisha,

    I think you should think of implementing full-text indexing capabilities.

  • RE: A puzzled entry exit problem

    I've been in this situation a few months ago, whereby i need to calculate the time difference between the entry and exit times....:hehe:

    I resolved the problem by just adding column...

  • RE: How to Handle this process

    You can use EXECUTE SQL Task and inside it you can have global input/output variables...

    SELECT ? = COUNT(*) FROM Table1 WHERE DateSubmission IN (SELECT DISTINCT DateSubmission FROM Table2)

    WHERE the value...

  • RE: Return the latest record

    Use ROW_NUMBER()....

    SELECT*

    FROM(

    SELECTROW_NUMBER() OVER( PARTITION BY AffiliateID ORDER BY AffiliateID, insertDate DESC ) AS RowNum,

    Comments, AffiliateID

    FROMtblAffiliatePaymentComments

    ) ao

    WHERERowNum = 1

  • RE: XSD Schema

    Yes you can...

    select XMLColumn1, XMLColumn2

    from XMLTable

    FOR XML AUTO, ELEMENTS, XMLSCHEMA ('Product')

  • RE: Shouldn't this process faster?

    Its not a good idea to have an index on a varchar(255) column specially when the table contains 700k records, instead of it you can add an identity column and...

  • RE: Microsoft Search Service

    Maverick (10/24/2007)


    Hi All,

    The full text index uses the Microsoft Search service. It is recommended that it should run under the Local System Account.

    I have two questions here

    1>>Does it only works...

  • RE: batch file for non sql user

    Use sqlcmd which is new in 2005, isql, osql or bcp

  • RE: Problem installing Management Studion on Windows 2000 server

    Elie Chedid (10/24/2007)


    thanks a lot for the hint.

    I actually did install SP1 for IE just few minutes ago and now am re-installing SQL 2005.

    I guess this was the issue.

    regards

    You don't...

  • RE: Problem installing Management Studion on Windows 2000 server

    Check if you've Microsoft Internet Explorer 6.0 SP1 or later, as it is required for SQL Server Management Studio, Business Intelligence Development Studio, and the Report Designer component of Reporting...

  • RE: Count of Nodes Visited in Recursive CTE

    Yes you can...

    just add the column in the SELECT statement of the WITH clause..

    WITH myCTE

    AS

    (

    .....

    )

    SELECT RecursiveLevel FROM myCTE

Viewing 15 posts - 1,006 through 1,020 (of 1,124 total)