Forum Replies Created

Viewing 15 posts - 7,066 through 7,080 (of 8,416 total)

  • RE: Problems to transcript a Oracle SQL Script

    PaulB (9/9/2009)You are correct once again.

    It can't last 😀

    PaulB (9/9/2009)Last but not least, in the Oracle world applying a function to a predicate column indexed by a normal index would...

  • RE: ADD Constraint - set default 0

    KB (9/9/2009)


    It has around 17 lacs of records.

    So i think it can be done through a simple update statement

    Cool. What are 'lacs' though? :unsure:

  • RE: ADD Constraint - set default 0

    Ian Scarlett (9/9/2009)


    alter table dbo.myTable ADD fred int null CONSTRAINT DFx DEFAULT 0 with values, constraint TBx check(fred < id)

    Almost, yes. But the DEFAULT...WITH VALUES is still the 'column...

  • RE: ADD Constraint - set default 0

    KB (9/9/2009)


    Is manual update(from NULL to 0), the only solution ?

    There is rarely only one solution to any problem in SQL Server!

    It might be easiest and as good as any...

  • RE: Importing of data from Oracle to sqlserver taking 6hrs

    PaulB,

    :w00t: SQLPlus? ColSep? :w00t:

    Wow that brought back some very old memories.

    Is there a way to automate that process these days?

    PaulW

  • RE: ONLINE index rebuild adds one extra byte to non-clustered indexes

    As expected, no change to the byte when making data changes 🙁

    I have added this to Connect.

    Paul

  • RE: extraction of date using sql function

    That might have been a lead-up to:

    SELECT DATEADD(DAY, (DATEDIFF(DAY, 0, CURRENT_TIMESTAMP)), 0)

    You can use the CONVERT function with a style parameter to format the result.

    You can also use CONVERT to...

  • RE: Rebuild or reorganize indexes

    Just to expand slightly on Jack's (very patient) comments:

    One reason that fragmentation might not be fully removed is because the first 8 data pages for an object come from 'mixed...

  • RE: full text search problem !!!

    farax_x (9/8/2009)


    How can I edit noise words in SQL server 2008

    In Management Studio, expand your database name, then Storage. There you will find full-text stop lists.

    See Stop words and...

  • RE: Question about primary key!

    No worries, dude 😀

  • RE: ADD Constraint - set default 0

    Shame about the lost post Ian. It is a sad reflection on this site that I automatically hit CTRL+A, CTRL+C before hitting the button!

    Thanks for seeing what I was...

  • RE: full text search problem !!!

    farax_x (9/8/2009)


    select * from tblDocument where contains(docNo,'"/abc 123 \*"')

    That exact example works fine for me in 2008.

  • RE: Cross Server Inserts

    Yikes Rog, that sounds like a bit of a nightmare.

    Nevertheless, we all have to do stuff we'd rather not sometimes, so let's see...

    Rather than try to do the work on...

  • RE: Is CHECKDB necessary on Read-Only DB's?

    Silverfox (9/9/2009)


    Nice to know about the mirroring bit, thanks for that

    It is a very cool feature. Not sure if we will ever use it (or notice it being used)...

  • RE: SQL Jobs

    This all seems like a very bad plan to me.

    Perhaps if you say what it is you want to achieve by doing this update, we can point you to a...

Viewing 15 posts - 7,066 through 7,080 (of 8,416 total)