Forum Replies Created

Viewing 15 posts - 1,576 through 1,590 (of 3,221 total)

  • RE: Nested Temporary Tables

    da-zero (12/16/2010)


    Nice question and an important point, but I have executed the code a 100 times or more and I always get the error.

    While executing the T-SQL a mere 40...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: Find statistics on each database object accessed, tables, views, stored procedures etc (sql 2008)

    You may want to test this:

    SELECT

    Owner = USER_NAME(so.UID),

    ...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: LIKE and = Operators

    wware (12/13/2010)


    QOTD doesn't get any better than this! It's obvious you paid a lot of attention to detail when you were writing it. And, you required us to...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: LIKE and = Operators

    MidBar (12/8/2010)


    Only lesson, i got from this question is to read the comments more carefully (run twice...) and thats why its just another dodge question.

    I would certainly hope that...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: Round to next 1000 or 100 without Ceiling function

    Here is another method - but you will have to test to determine which is most efficient. Look up the modulo operator in Books On Line to understand the...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: How to delete duplicate rows form SQL 2008 database

    techzone12

    Thanks for the feed back.

    Now for everyone who wants to help you, the next time you post a question to a forum please provide the table(s) structure,...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: Printing Lengths

    Rahul The Dba (12/12/2010)


    Hi,

    All my drear readers hope you will be able to learn a trick about varchar and char datatypes in SQL.

    Thanks for viewing it.....

    I did and thanks for...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: how to do sum the salarie of employes if empnames are equal in ssis

    Here is a GROUP BY solution

    CREATE TABLE #T(EmpId INT, EmpName VARCHAR(50),Salary MONEY)

    INSERT INTO #T

    SELECT 123, 'andy', 10000 UNION ALL

    SELECT 111, 'Maddy', 12000 UNION ALL

    SELECT 121, 'Raman', 25000 UNION ALL

    SELECT 124,...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: How to delete duplicate rows form SQL 2008 database

    Without using sp_ForEachTable you might want to try this code:

    DECLARE @Table NVARCHAR(200),@Column NVARCHAR(200),@Sql NVARCHAR(2000)

    DECLARE Table_Cursor CURSOR FOR

    SELECT so.Name AS 'Table',sc.Name AS 'Column'

    FROM...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: How to find Median Value then find all the values above that

    If you would provide table definition, some sample data and required result based on the sample data, then some one will be able to assist you with a tested solution.

    Click...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: Design Question - Company, Clients, Branches, Departments

    What you need to do is to develope an overall requirements document specifying what you management expects to use the database for.

    a. What data do people...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: seeing failed rows from bulk insert

    Have you considered importing the data into a "staging table" , then using one or more T-SQL statements to locate the rows where there is data that "violates the constraint(s)"....

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: LIKE and = Operators

    Carlo Romagnano (12/7/2010)


    When I realize that a command or option is deprecated, I stop to waste my time to use it.

    My thoughts: It should be an alert to check...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: LIKE and = Operators

    john.moreno

    hmm I tested repeatedly on both 5K and 8K before submitting the question .. always produced the identical answers on all servers...

    Are you sure you executed the first 6 lines...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: Is it possible to run PL/SQL procedures on Microsoft SQL Server 2000

    You may want to look at the SQL Server Migration Assistant document (pdf) at:

    http://download.microsoft.com/.../SQLServer2000MigrationAssistant_Final.pdf

    A TechNet search for the SQL Server Migration Assistant

    http://technet.microsoft.com/en-us/default.aspx

    This article on SSC will explain its installation...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

Viewing 15 posts - 1,576 through 1,590 (of 3,221 total)