Forum Replies Created

Viewing 15 posts - 3,121 through 3,135 (of 3,221 total)

  • RE: pass table name as a parameter in stored procedure

    Using dynamic SQL try this:

    CREATE PROCEDURE AddnewServiceCategory

    (

    @tablename nvarchar(50)

    )

    as

    DECLARE @sSQL nvarchar(500)

    SET @sSQL = 'SELECT ' + @tablename +'.Funder, ' + @tablename +'.[Facility ID]' +

    ' FROM ' + @tablename

    PRINT...

    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 log (and retrieve) users activity

    Second thoughts ... myself being a VB programmer ... I can understand how your apps were written ... to convert them can be a daunting prospect... in general what T-SQL...

    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 log (and retrieve) users activity

    This should give you the users name -- test it and see if it does

    suser_sname()

    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 log (and retrieve) users activity

    Assuming that all user updates, deletes, inserts are implemented via

    stored procedures Here is an idea for you to consider:

    1. Create a table to record the data collected, such as:

    CREATE...

    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: sp_helptext

    This answer is based on a few assumptions, and yes I do know what this translates to .... but here goes.

    If all you want to do is to dynamically view...

    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: Historical Dollars

    Having been a plant manager for a manufacturing facility and as such I learned that the personnel department's (now known as Human Resources) major function is to weed out applicants...

    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: Table Information View -- No Cursors!

    Thanks for your unique point of view - it works like a charm ... will be added to my bag of "tricks"

    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: Inside The Question of the Day

    Steve as one who has suggested a review panel, let me say it was without knowledge of what you and others have done in the past, for that I apologize....

    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

    Getting tired, so very tired of sloppily worded questions ...

    dob not defined as a column name in the table or for that matter anywhere in question ... so it...

    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: DDL Changes

    You have to believe me - read this article at 10:55 PM.

    It appears to be all of what you might need. Give it a try

    http://searchsqlserver.techtarget.com/tip/0,289483,sid87_gci1308141,00.html?track=NL-414&ad=633481&asrc=EM_NLT_3420820&uid=667360

    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: DDL Changes

    If you do not have a text file with all your SP's text. This might be an additional aide to store the text of all your SPs. Run this SP...

    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: Available bytes for row expansion (adding columns) in a table

    Many thanks for your script. In particular the inclusion of the 'null bit map' - something I did not really consider. Have taken the liberty of adding your...

    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: SQL Server 2005, Windows Vista and Office 2007 Compatibility

    Here we go again ....

    For Steve and others - might I suggest asking a few users to form a panel to check the questions BEFORE they are published as...

    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: DDL Changes

    Looking at sysobjects with

    SELECT name, xtype,base_schema_ver,schema_ver,refdate FROM sysobjects WHERE XTYPE ='p' ORDER BY Name

    1. Ran the query

    2. Went into the sp and altered same

    3. Ran the queriy again

    Results

    Column ...

    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: Using SSIS to export data from SQL 2005 to Excel 2007

    Other possible aids

    Applies to:

    SQL Server 2005 Reporting Services

    Excel 2007

    Word 2007

    http://msdn2.microsoft.com/en-us/library/aa964136.aspx

    Found in a blog:

    http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2524069&SiteID=1

    SSIS sql server 2005 uses Microsoft Office 12.0 Access...

    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 - 3,121 through 3,135 (of 3,221 total)