Forum Replies Created

Viewing 15 posts - 631 through 645 (of 1,124 total)

  • RE: how do i summarise and transpose table data

    Thanks for the kind words:), though I would be much happier if that can be fixed at the base itself.

    --Ramesh


  • RE: sql queries on excel sheet???

    Yes, you can. Just add the sign "$" after the sheet name in the query, for e.g.

    SELECT * FROM [Customer$]

    WHERE "Customer" is the name of the sheet...

    --Ramesh


  • RE: How to get the number of rows from a table reside in a linked server as fast as possible.

    Or you could do something like....

    SELECTi.rows

    FROM[linkedserver].[linkeddb].dbo.sysindexes i

    INNER JOIN [linkedserver].[linkeddb].dbo.sysobjects o ON i.id = o.id

    WHEREo.name = 'HereGoesTheTable'

    AND i.indid < 2

    --Ramesh


  • RE: Why do people need to do this?

    Jeff Moden (1/19/2009)


    Ramesh (1/18/2009)


    I would like to share my thoughts on the need of such rules.

    I have the punch/swipe card data imported from some other system in the following format...

    EmployeeNo,...

    --Ramesh


  • RE: how do i summarise and transpose table data

    Assuming that this is your actual table design, there are some major flaws in your table design.

    1. It is not in any of the defined normal forms. ...

    --Ramesh


  • RE: How to deploy a encrypted procedure on the client machine.

    Actually, I never had to do something like this...., so I won't be able to help you much, but there are some options like...

    1. You can cipher the code using...

    --Ramesh


  • RE: Why do people need to do this?

    GilaMonster (1/18/2009)


    That's actually not that hard, providing it's impossible to have two sequential in's or out's and the first entry is going in.

    Pseudocode:

    SELECT * FROM

    (SELECT *, ROW_NUMBER OVER (PARTITION BY...

    --Ramesh


  • RE: Why do people need to do this?

    I would like to share my thoughts on the need of such rules.

    I have the punch/swipe card data imported from some other system in the following format...

    EmployeeNo, CardReaderNo, CardReaderType, PunchDateTime

    E1,...

    --Ramesh


  • RE: Need output as 1,2,3,...10

    RBarryYoung (1/17/2009)


    This being an ORDER BY on the outermost SELECT, it seems that it is guaranteed to be so sorted.

    I don't think so it holds in all cases, especially when...

    --Ramesh


  • RE: run SSIS with config file

    Basically, what you need is

    1. Two configuration variables for source & archive directory and three internal variables to hold file name, source file path & archive file path.

    2. One For...

    --Ramesh


  • RE: SQL Agent not showing in object explorer using SQL 2005 Eval Edition

    SQL Server Agent is visible only to users which have the adequate permission, you can check it by login with an account having admin permissions.

    See this excerpt from books online...

    "Click...

    --Ramesh


  • RE: run SSIS with config file

    1. Its always better to keep only the dynamic variables in configurations than all of the internal variables.

    2. The configured variables are always populated before starting the execution...

    --Ramesh


  • RE: Import Data from Multiple Excel Sheets using SSIS

    1. You need 1 Data Flow Task, containing an EXCEL source Connection and a SQL destination connection

    2. Script Task to get list of sheets within the excel file

    3. For...

    --Ramesh


  • RE: Top N sub query workaround - Does it exist?

    Hey Gail, firstly thank you very much for taking time in explaining me the concept and providing me with a working example.

    Secondly, you were right, it does provide the same...

    --Ramesh


  • RE: Which SQL would run faster?

    I think the queries 1 & 2 are similar, so I'd bet on both & more on 1..., 3 is out of question here for me.:)

    --Ramesh


Viewing 15 posts - 631 through 645 (of 1,124 total)