Forum Replies Created

Viewing 15 posts - 2,596 through 2,610 (of 6,036 total)

  • RE: T-Sql rant

    J (3/18/2009)


    I am on vacation.

    It's not exactly what they name "on vacation". 😉

    "On vacation" means "gone fishing", "being on tour", "hiking over incredible range", getting pissed end in the...

    _____________
    Code for TallyGenerator

  • RE: Table

    This is exactly what should be done in UI code.

    What's the point of populating drop-down box with values which you cannot match back to values in table?

    After a user selected...

    _____________
    Code for TallyGenerator

  • RE: problem in query?

    Steve Jones - Editor (3/15/2009)


    I'll give you a few hints here. The explanation above is correct.

    Look at charindex/patindex to find the "marla" in your string. http://www.sqlservercentral.com/articles/Advanced+Querying/tamestrings2.asp/97/

    Then use substring to grab...

    _____________
    Code for TallyGenerator

  • RE: How to Export data from a SP to an Excel sheet

    Patrick,

    actually Excel can get data by running a query against SQL Server.

    Did you consider this option?

    _____________
    Code for TallyGenerator

  • RE: How to Generate Alter Table Script Dynamically.

    santoooo (2/2/2009)


    hi all,

    please correct me if anything wrong with this code. and please post how we can do with the Information_Schema.columns.

    - no identites;

    - no collations;

    - "DEFAULT" is...

    _____________
    Code for TallyGenerator

  • RE: Excel Result Vs DB Result

    Kartik,

    with a little bit of effort from your side you could easily transform "string concatenation" function (which you already copied from this forum) to "float multiplication" one.

    _____________
    Code for TallyGenerator

  • RE: T-Sql rant

    Whatever rant it's started from it ends up in a pub...

    :Whistling:

    _____________
    Code for TallyGenerator

  • RE: How to differentiate (Field containing comma) in csv file while using bulk insert

    Easiest way is to use ODBC driver for test files.

    Look in BOL for topics about Linked servers, OPENQUERY, OPENROWSET for details and examples.

    _____________
    Code for TallyGenerator

  • RE: T-Sql rant

    foxjazz (3/13/2009)


    First off, I don't "struggle" with t-sql, I use it a lot.

    I can imagine how it suffers.

    :pinch:

    My condolences to poor T-SQL.

    :crying:

    😛

    _____________
    Code for TallyGenerator

  • RE: T-Sql rant

    foxjazz,

    Are Matt's and Lynn's code examples shorter than you C# code?

    Definitely.

    Do they do the task?

    Absolutely.

    What about performance?

    Try it and see - C# won't see the dust tail after TSQL.

    Does it...

    _____________
    Code for TallyGenerator

  • RE: Stored Procedures

    J (3/12/2009)


    Sergyi

    Good point on the constraints.

    However, since I am working on a specific table, I have to look no further than the table itself to find out about constraints. Also,...

    _____________
    Code for TallyGenerator

  • RE: Stored Procedures

    J (3/12/2009)


    Sergiy

    Triggers ! :w00t:

    I have this deep-rooted prejudice against "hidden" code that executes from somewhere else. Say I am trying to debug a stored proc and I forget that there...

    _____________
    Code for TallyGenerator

  • RE: Stored Procedures

    JacekO (3/12/2009)


    1. Calling SPs from another SP is not a big deal and has nothing to do with set based or RBAR programming. I use it quite extensively because it...

    _____________
    Code for TallyGenerator

  • RE: Stored Procedures

    lee.pollack (3/12/2009)


    you are offensive - maybe because you lack the skills in the use of the english language. YOur use of "tiny experience" and the word stupid is offensive.

    My English...

    _____________
    Code for TallyGenerator

  • RE: Stored Procedures

    Sorry if it sounded as a personal attack.

    It was not one.

    There's nothing wrong in being unexperienced in database development.

    I just tried to make a point that something what you're ready...

    _____________
    Code for TallyGenerator

Viewing 15 posts - 2,596 through 2,610 (of 6,036 total)