Forum Replies Created

Viewing 15 posts - 46 through 60 (of 268 total)

  • RE: StoredProcedure With Temptable

    Yes, but the table must already exist..

    So you have to create it prior to: insert <table> exec <proc>

    /rockmoose


    You must unlearn what You have learnt

  • RE: StoredProcedure With Temptable

    Yes,

    Insert [#][#]Table Exec Proc

    BUT, the table must already exist and have the same structure as the output of the Proc.

    /rockmoose


    You must unlearn what You have learnt

  • RE: Adding IDENTITY to a primary key column of existing table

    " But my question is , is there any possbility by TSQL code  to alter the

    table with "Identity" property."

    You can only add a new column with the identity property to...


    You must unlearn what You have learnt

  • RE: A future for stored procedures?

    Fellow posters,

    First I can state that I am for stored procedures.

    You can percieve of the database as "only" a storage media for your data, and let the client application handle...


    You must unlearn what You have learnt

  • RE: How to store jpeg images in database

    Nice, thank You sqluser.

    A source control system could probably accomplish the same thing.

    /rockmoose


    You must unlearn what You have learnt

  • RE: How to store jpeg images in database

    What is the ONE business case you are thinking of ?

    Curious.

    /rockmoose


    You must unlearn what You have learnt

  • RE: Connect by prior Equivalent

    There is an example in BOL. see: "expanding hierarchies".

    There are other 'better' ways of doing this, submit some test data and an example of what you want your result to...


    You must unlearn what You have learnt

  • RE: Not Going to use IDENTITY columns!!!

    3) Yes, it is possible to achieve duplicate values in an identity column.

    But not if the identity column is a primary key or has an unique index defined on it.

    /rockmoose


    You must unlearn what You have learnt

  • RE: How to store jpeg images in database

    Take a look at this FAQ:

    http://www.sqlteam.com/item.asp?ItemID=986

    /rockmoose


    You must unlearn what You have learnt

  • RE: Retrieve resultset from a sp from a different sp

    You might consider creating a permanent table

    create table final(a float, b smalldatetime)

    and keep this current whenever the data changes.

    This way the underlying proc would not need to recreate the temporary...


    You must unlearn what You have learnt

  • RE: Performance When Query Thru more rows

    Hi,

    Do You have appropriate indexes on the table ?.

    And what is the Primary key on the table ? - ( is job_loc + client the pk ? )

    From the query...


    You must unlearn what You have learnt

  • RE: Working with Past Dates - Frustrating

    Yes you are right, the code uses a couple of unusable standard date functions.

    Just came home from vacation and the brain maybe is still on vacation 🙂

    Here is an interesting...


    You must unlearn what You have learnt

  • RE: SQL Server Table Size Limitations and Performance Impacts

    From performance reasons you want to have indexes on the table.

    ( but probably not 84 or 124!, which columns are searched )

    Why 1 big table ?

    How do You present the...


    You must unlearn what You have learnt

  • RE: Working with Past Dates - Frustrating

    Ok, forgot to add..

    For performing datediff comparisons and such ( day level ) you just have to substract the id between 2 dates in the sample table.

    You could add constraints...


    You must unlearn what You have learnt

  • RE: Working with Past Dates - Frustrating

    My suggestion is to create a separate table to hold the sequence of dates you are interested in.

    All tables that contain calender information will then reference this table on the...


    You must unlearn what You have learnt

Viewing 15 posts - 46 through 60 (of 268 total)