Forum Replies Created

Viewing 15 posts - 10,066 through 10,080 (of 13,461 total)

  • RE: resize .ldf file

    log files will grow in size automatically. they typically grow for two reasons: either a huge transaction occurred, or more likely, the database option for recovery is set to "FULL"...

  • RE: Alternate of Row_Number() in SQL 2000

    to do the equivilent of row-number() in 2000, I've always had to create a temp table with an extra column, insert the data into the table, then run an additional...

  • RE: How to write/ combine two expressions in Derived column

    jyoti_bhatt (1/27/2010)


    How can I amend this expression to replace it to NULL rather than "" (a space)?

    REPLACE([Column_name],"-","")

    All help will be appreciated?

    Many Thanks.

    jyoti you would not replace part of a string...

  • RE: SQL tables

    here's another script that i use a lot;

    i stick it in master, and then in any database i might type "sp_find order" in any database;

    and it returns all tables(or views)...

  • RE: Stored Proc - Dealing with Orders and OrderDetails...

    steve whenever i have an overall status that depends on the details, i do not store it in the parent/Orders table. I always try to calculate it based on the...

  • RE: How to write/ combine two expressions in Derived column

    jyoti_bhatt (1/26/2010)


    Many Thanks for your response much appreciated.

    These are my two expressions, how would I combine then?

    REPLACE([Column_name],"-","")

    (ISNULL([Column_name]) ? "" : [Column_name])

    gotcha; you want to replace any value with isnull...

  • RE: How to write/ combine two expressions in Derived column

    duplicate post.

    no need to cross post to multiple forums it fractures the answers you get ,and makes posters duplicate others work.

    the "Recent Posts" link shows us everything.

    continue the thread here:

    ...

  • RE: How to write/ combine two expressions in Derived column

    you probably want to show us the two expressions, and how you want them to be used together , i would think.

    a crappy example is the ISNULL function is an...

  • RE: Syntax Help PLEASE

    g_dion (1/25/2010)


    ... Create Table stuff. The database and tables were already there,....

    glad i could help a bit g_dion; i'm glad you were able to do what you needed to.

    what i...

  • RE: vb.net regular expressions between two words

    discovered that my problem was the period in the pattern...the period matches an character except a new line...the patter i'm using, if anyone else ever needs a regular expression to...

  • RE: Restore database failure

    weird, I've always been told that a backup from a previous version(2000,2005) can be restored on 2008.

    my google-fu found this link at MS, which says you can get that error...

  • RE: Syntax Help PLEASE

    you'd get much better,understandable answers if you were able to provide the CREATE TABLE definitions of your two tables; psuedo code like table_new and table_old is not nearly as useful...

  • RE: Integer bigger than bigint?

    i have to go with lobbymunchers suggestion; a standard parent child relationship would be much more appropriate; i think you are mentally locked into bitwise operations because it's neat to...

  • RE: Deleting a User from more than one Database

    the command is extremely basic, all available in books on line;

    use database1

    drop user webdev

    use database2

    drop user webdev

    what are you having trouble with?

  • RE: Selecting out specific data

    you definitely need some coffee; god knows i've drawn blanks like that before my daily caffiene infusion.

    if you need the max(payment date) per company, you simply need a group by;

    something...

Viewing 15 posts - 10,066 through 10,080 (of 13,461 total)