Forum Replies Created

Viewing 15 posts - 1,936 through 1,950 (of 3,221 total)

  • RE: Database comparison

    look at this tool

    http://www.red-gate.com/products/SQL_Compare/index.htm?

    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: Selecting row data into columns

    From Jeff's article:

    Last but not least, I currently only have SQL Server 2000 and 2005 installed. I indicate which rev each section of code will run on in parenthesis

    Emphasis added...

    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: Selecting row data into columns

    Rebecca

    I need to take the 1:many lead sources per account and return those as columns in my query so it will look like account, leadsource1, leadsource2, leadsource4, etc.

    I suggest...

    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: query help needed

    vmrao

    Your would most likely get more assistance if you posted your table definition and sample data as described in the first link of my signature block ... and with...

    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: Linked server for fetching data from Excel

    First Excell 2007 uses a different ODBC driver than does previous versions of OFFICE products:

    http://www.microsoft.com/downloads/details.aspx?FamilyID=7554F536-8C28-4598-9B72-EF94E038C891&displaylang=en

    Dowload and install above:

    Then to call Excel use:

    'Microsoft.ACE.OLEDB.12.0',

    'Excel 12.0;'

    Instead of:

    'Microsoft.Jet.OLEDB.4.0',

    'Excel 8.0;'

    Note: Not...

    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: Rounding problem

    Decimal with a defined precision and scale works.

    DECLARE @dec DECIMAL(2,1),

    @float FLOAT

    ...

    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: Export SQL Server 2005 Table to Excel 2007 using T-SQL

    ColdCoffee

    First Excell 2007 uses a different ODBC driver than does previous versions of OFFICE products:

    http://www.microsoft.com/downloads/details.aspx?FamilyID=7554F536-8C28-4598-9B72-EF94E038C891&displaylang=en

    Download and install the above, then alter your OPENROWSET statement to:

    Create the Excel workbook (Book1.xlsx) save...

    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: Export SQL Server 2005 Table to Excel 2007 using T-SQL

    If this is a one time export ... believe the following link will assist you

    http://www.sql-server-performance.com/articles/biz/How_to_Export_Data_to_Excel_2007_p1.aspx

    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: Search and Replace

    TRACEY-320982

    --==Extracted segments only for Illustration purposes

    DECLARE @L VARCHAR(10)

    SET @L = 'Location'

    CHARINDEX(@L,S) AS 'LocA',

    ,CHARINDEX(@L,REPLACE(S,'SITE ','SITE1')) AS 'LocB'

    Please note. The parameter @L is only used to determine the position of...

    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: Search and Replace

    DECLARE @L VARCHAR(10)

    SET @L = 'Location'

    SELECT id, S, CHARINDEX(@L,S) AS 'LocA', REPLACE(S,'SITE ','SITE1') aS 'Modified'

    ,CHARINDEX(@L,REPLACE(S,'SITE ','SITE1')) AS 'LocB'

    --== notice blank (space) ^

    FROM #Table

    DROP TABLE #Table

    /* Result:

    idS...

    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: Search and Replace

    Whoops

    [

    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: invalid objects

    SELECT * FROM sys.all_objects ]

    - will return information for all these database objects .. AGGREGATE_FUNCTION

    CHECK_CONSTRAINT

    DEFAULT_CONSTRAINT

    FOREIGN_KEY_CONSTRAINT

    PRIMARY_KEY_CONSTRAINT

    SQL_STORED_PROCEDURE

    CLR_STORED_PROCEDURE

    SQL_SCALAR_FUNCTION

    CLR_SCALAR_FUNCTION

    CLR_TABLE_VALUED_FUNCTION

    RULE

    REPLICATION_FILTER_PROCEDURE

    SYSTEM_TABLE

    SYNONYM

    SERVICE_QUEUE

    CLR_TRIGGER

    SQL_TRIGGER

    SQL_INLINE_TABLE_VALUED_FUNCTION

    SQL_TABLE_VALUED_FUNCTION

    USER_TABLE

    UNIQUE_CONSTRAINT

    VIEW

    EXTENDED_STORED_PROCEDURE

    INTERNAL_TABLE

    --------------

    but as far as I know and as Lowell has stated it will not identify invalid...

    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: What do you do when you don't get paid?

    Your boss ,truly, has only one recourse. Hire a contract lawyer, and consult with that individual, and then decide how to proceed.

    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: keyword between

    oops

    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: comparing two different string patterns

    rik gretzinger

    The following is just to give you an idea of how the

    problem could be solved, it is NOT the fastest way,

    and if your parts and subparts tables...

    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,936 through 1,950 (of 3,221 total)