Forum Replies Created

Viewing 15 posts - 1,426 through 1,440 (of 2,894 total)

  • RE: Updating a column

    Why not to post DDL together with explaining your problem in words. That would help a lot (link at the bottom of my signature).

    From what you described looks like...

    _____________________________________________
    "The only true wisdom is in knowing you know nothing"
    "O skol'ko nam otkrytiy chudnyh prevnosit microsofta duh!":-D
    (So many miracle inventions provided by MS to us...)

    How to post your question to get the best and quick help[/url]

  • RE: Windows script required to get InstalledInstances

    Sorry mate, I don't know the one. And I guess there are no many as not many DOS programmers are still around...

    Windows engineers forums will be your best bet.

    _____________________________________________
    "The only true wisdom is in knowing you know nothing"
    "O skol'ko nam otkrytiy chudnyh prevnosit microsofta duh!":-D
    (So many miracle inventions provided by MS to us...)

    How to post your question to get the best and quick help[/url]

  • RE: List Columns Updated(By Triggers) in the last 24 hrs

    No, SQL Server doesn't track such things.

    You will need to review your triggers (you can use handy Search add-on from Redgate) and find which one do update your columns, you...

    _____________________________________________
    "The only true wisdom is in knowing you know nothing"
    "O skol'ko nam otkrytiy chudnyh prevnosit microsofta duh!":-D
    (So many miracle inventions provided by MS to us...)

    How to post your question to get the best and quick help[/url]

  • RE: Windows script required to get InstalledInstances

    It kind of SQL forum, not the DOS one...

    It took me a while to figure out how to do it in DOS using REG QUERY, you need to follow all...

    _____________________________________________
    "The only true wisdom is in knowing you know nothing"
    "O skol'ko nam otkrytiy chudnyh prevnosit microsofta duh!":-D
    (So many miracle inventions provided by MS to us...)

    How to post your question to get the best and quick help[/url]

  • RE: Select * into table2 from table1 - Performance Impact - what do u think?

    Daxesh Patel (6/14/2012)


    ...

    - you cannot specify file group, INTO will always create new table in default file group

    ...

    Depends, sometimes (for example in DW serial load) the following is...

    _____________________________________________
    "The only true wisdom is in knowing you know nothing"
    "O skol'ko nam otkrytiy chudnyh prevnosit microsofta duh!":-D
    (So many miracle inventions provided by MS to us...)

    How to post your question to get the best and quick help[/url]

  • RE: Select * into table2 from table1 - Performance Impact - what do u think?

    Daxesh Patel (6/14/2012)


    ...

    - you cannot specify data types of columns (especially calculated column in select)

    basically no control on new table definition

    You can specify data types of columns:

    SELECT CAST(NULL...

    _____________________________________________
    "The only true wisdom is in knowing you know nothing"
    "O skol'ko nam otkrytiy chudnyh prevnosit microsofta duh!":-D
    (So many miracle inventions provided by MS to us...)

    How to post your question to get the best and quick help[/url]

  • RE: How to Roll Back?

    It will help, but, will it satisfy your performance requirements (if any)? It is really depends on what you load and what transformations and validation you perform. I am not...

    _____________________________________________
    "The only true wisdom is in knowing you know nothing"
    "O skol'ko nam otkrytiy chudnyh prevnosit microsofta duh!":-D
    (So many miracle inventions provided by MS to us...)

    How to post your question to get the best and quick help[/url]

  • RE: How to Roll Back?

    Pre-load all data with all required validations into staging tables. When done, you can load it into destination if there are no errors.

    _____________________________________________
    "The only true wisdom is in knowing you know nothing"
    "O skol'ko nam otkrytiy chudnyh prevnosit microsofta duh!":-D
    (So many miracle inventions provided by MS to us...)

    How to post your question to get the best and quick help[/url]

  • RE: Performance of Table value Functions

    DZN61 (6/13/2012)


    I now that UDF are fare more slower than Stored procedure due to the compilation.

    But what about Table value functions ?

    Tks.

    Yes, sure! And submarines are slower than tanks! The...

    _____________________________________________
    "The only true wisdom is in knowing you know nothing"
    "O skol'ko nam otkrytiy chudnyh prevnosit microsofta duh!":-D
    (So many miracle inventions provided by MS to us...)

    How to post your question to get the best and quick help[/url]

  • RE: Trying to Find the Right Font

    Lucida Caligraphy?

    I like this one!

    _____________________________________________
    "The only true wisdom is in knowing you know nothing"
    "O skol'ko nam otkrytiy chudnyh prevnosit microsofta duh!":-D
    (So many miracle inventions provided by MS to us...)

    How to post your question to get the best and quick help[/url]

  • RE: Left Join Null Results

    If you would provide the setup (ddl & sample data) I could test my query, but...

    Select a.trainingcourse, c.name, c.personID, b.expirydate

    from trainingcourses a

    cross join staff c

    left join trainingcourselog b on...

    _____________________________________________
    "The only true wisdom is in knowing you know nothing"
    "O skol'ko nam otkrytiy chudnyh prevnosit microsofta duh!":-D
    (So many miracle inventions provided by MS to us...)

    How to post your question to get the best and quick help[/url]

  • RE: Insert a record for every possible date within a range

    SQLKnowItAll (6/12/2012)


    Adam Bean (6/12/2012)

    ...

    I'm confused... Here you have no "specified end date."

    I guess, it's a kind of achievement to confuse KnowItAll one 🙂

    In reality for the given requirement, You don't...

    _____________________________________________
    "The only true wisdom is in knowing you know nothing"
    "O skol'ko nam otkrytiy chudnyh prevnosit microsofta duh!":-D
    (So many miracle inventions provided by MS to us...)

    How to post your question to get the best and quick help[/url]

  • RE: Comparing the dates on multiple rows

    What about providing something like this:

    http://www.sqlservercentral.com/articles/Best+Practices/61537/

    _____________________________________________
    "The only true wisdom is in knowing you know nothing"
    "O skol'ko nam otkrytiy chudnyh prevnosit microsofta duh!":-D
    (So many miracle inventions provided by MS to us...)

    How to post your question to get the best and quick help[/url]

  • RE: Insert a record for every possible date within a range

    You don't need the cursor! If you have the calendar table, just select records you need filtering by date.

    Or you can use some run-time tally table like that:

    DECLARE...

    _____________________________________________
    "The only true wisdom is in knowing you know nothing"
    "O skol'ko nam otkrytiy chudnyh prevnosit microsofta duh!":-D
    (So many miracle inventions provided by MS to us...)

    How to post your question to get the best and quick help[/url]

  • RE: Writing a procedure to

    1. There is no such function in T-SQL as "get(@id)", If you want to get table id you can use SQL function OBJECT_ID('TableName')

    2. The first errors you have is...

    _____________________________________________
    "The only true wisdom is in knowing you know nothing"
    "O skol'ko nam otkrytiy chudnyh prevnosit microsofta duh!":-D
    (So many miracle inventions provided by MS to us...)

    How to post your question to get the best and quick help[/url]

Viewing 15 posts - 1,426 through 1,440 (of 2,894 total)