Forum Replies Created

Viewing 15 posts - 2,911 through 2,925 (of 3,221 total)

  • RE: I need to select *from (parm)_NAME and use the data in that table for the report.

    BKW - have you thought of creating a dynamic T-SQL statement such as

    CREATE PROCEDURE Dbo.GetIT

    @TableName VARCHAR(5)

    AS

    DECLARE @sql VARCHAR(50)

    SET @sql = 'SELECT * FROM ' + @TableName +...

    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: Copy a table structure and data in SQL SERVER

    Use SSMS, navigate to the database, expand the database, right click on the table you wish to script, then select "Script table as", select "Create", then select one of these...

    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: Trouble finding the max(units) OR max(revcode) from resultset

    Serigy

    That is putting the frosting on the cake, or the cherry on top of the ice cream Sunday. Hope the OP does what you suggest and gets all 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: Import Excel data into SQL Database

    Paul Mc

    A very similar question was asked in another forum and here is the most flexible approach given as the answer. This may also be the answer to 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: Passing Variables from Access Forms to SQL Stored Procedures?

    From Access help files

    You can use the ListIndex property to determine which item is selected in a list box or combo box.

    Setting

    The ListIndex property is an integer from 0 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: Trouble finding the max(units) OR max(revcode) from resultset

    I want to return only one line per claim. I want to know the claimid and revcode for each claim,

    Try this as your select statement

    SELECT claimid, Max(revcode) AS 'RevCode'

    FROM #myHead

    GROUP...

    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: Inserting Value into table from stored procedure

    Hopefully you would have a test database, even something as simple as the free express version.... then you could try your T-SQL code and answer your own question.

    Read these 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: Dynamic loading of csv into table

    Paul_J

    A very similar question was asked in another forum and here is the most flexible approach given as the answer. This may also be the answer to your question....

    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: multiple row values into diff columns

    Read this article by Jeff Moden it will teach you how to do what you want.

    Cross Tabs and Pivots, Part 1 – Converting Rows to Columns

    By Jeff Moden, 2008/08/19

    http://www.sqlservercentral.com/articles/T-SQL/63681/

    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: metadata driven load from excel

    If your Excel files are available in CSV format (in which an Excel file consisting of a single work sheet can be saved) then look at this forum posting (made...

    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: metadata driven load from excel

    Is it possible for you to use an INSERT INTO statement? From BOL:

    The SELECT INTO statement creates a new table and populates it with the result set of 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: import into an excel spreadsheet issue

    If you are using Excel 2007 be advised that some important old limitations have been removed:

    The total number of available columns in Excel

    Old Limit: 256 (2^8)

    New Limit: 16k ...

    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: Test dastabase on production server

    My concern is that a user could inadvertently access the production database when they meant to access the test database

    Why would you want users to have access to both databases?...

    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: 2 record to 1

    Clas -- I see a lot of data but NO QUESTION [/B]. Also your date value does not appear to be relevant.

    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: Retrieving windows user information from group login

    This is identical to the posting by the same individual to SQL Server 2005 Security.

    Ooops Jack you sure can type faster than I can ...

    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 - 2,911 through 2,925 (of 3,221 total)