Forum Replies Created

Viewing 15 posts - 10,486 through 10,500 (of 15,381 total)

  • RE: Customize SQL error message for VB.NET App use

    crux1187 (10/5/2012)


    I am wondering if there is a way to overwrite or customize the system error thrown by SQL server. For example error message 521,instead of the default message you...

  • RE: Connect 64bit To 32bit Through ODBC, SQL Server 2008

    54.69.6d.20 (10/5/2012)


    I just setup a new Win2011 64bit SBS server which is now hosting our website (Was on an old 2003 server, where 2008 SQL was hosted on too). Some...

  • RE: Database to hold/keep scripts.

    Your google-fu is just failing you today. Try searching "code snippet storage". You will find lots of apps for doing just that.

  • RE: Apply Style in Select Query

    parth83.rawal (10/4/2012)


    Hi,

    I am using FOR XML to generate the HTML and following is my query. i want to apply class in td, how can i achieve the same ??

    CAST (...

  • RE: Merging rows

    Still nothing to test with but I think this might be close to what you want...

    select A, b, MAX(C), MAX(D), MAX(E), MAX(F), g

    from

    (

    SELECT distinct

    BASE1.AssetID AS a

    ,BASE1.Name As b

    ,case when BASE2.AssetID...

  • RE: loop and insert

    The logic that Praveena suggested is far better than looping for this. There is no need for looping here at all. There is no reason to be concerned by the...

  • RE: CAN we?

    raghavender.2369 (10/4/2012)


    ThanQ for your reply and please look at my question once, you would know what exactly i need.

    What you want is simply not possible using the proper datatype. I...

  • RE: CAN we?

    haiao2000 (10/4/2012)


    raghavender.2369 (10/4/2012)


    I agree with you, we can display the result in any desired format using convert or someother functions,

    my friend said it is possible to store date in this...

  • RE: CAN we?

    raghavender.2369 (10/4/2012)


    Thanq for your suggestion, but there is a requirement to store date in 'dd-mm-yyyy' in this format only(use only date datatype, dont use varchar), i googled about it ,...

  • RE: CAN we?

    raghavender.2369 (10/4/2012)


    by default date is stored in table 'yyyy-mm-dd' format , but I want to store date in 'dd-mm-yyyy' format, am i clear?

    Yes....don't use varchar. Use datetime. Then there is...

  • RE: CAN we?

    raghavender.2369 (10/4/2012)


    I have a table(dates) with one column(Todate), I used to store date.The format of the date should be 'DD-MM-YYYY'

    ex:

    data stored in the table in the following format

    Todate

    -----------

    01-02-1988

    03-06-1980

    select * from...

  • RE: Dynamic Filter and Order By

    Jeff Moden (10/4/2012)


    Sean Lange (10/2/2012)


    It will work but referring to columns by ordinal position is fraught with maintenance issues.

    Not to mention that (IIRC) it's been deprecated.

    And something I have...

  • RE: Update query question

    cphite (10/4/2012)


    Sean Lange (10/4/2012)


    The first time I ran the query below I thought it didn't update correctly (as I suspected). But subsequent runs are successful every time.

    You think it...

  • RE: Update query question

    Randy Doub (10/4/2012)


    Sorry, when I said fail, I meant the final result set wasn't correct, not that it logged an error. A failure with the logic.

    It's updating a person's...

  • RE: Passing multiple values through one parameter in a stored procedure

    You're welcome. Hope my posts helped. Post back if you run into any issues or need a little help.

Viewing 15 posts - 10,486 through 10,500 (of 15,381 total)