Forum Replies Created

Viewing 15 posts - 721 through 735 (of 851 total)

  • RE: Data Insertion very slow (91k rows)

    [font="Verdana"]Have you tried getting your application to generate two files (one for parent table, one for child table), and then using bulk insert to load the files?[/font]

  • RE: Update and Except question.

    [font="Verdana"]I do this sort of thing with left outer joins. I believe SQL Server is pretty much smart enough to generate a nearly identical query plan for the two...

  • RE: Trigger Problem-Urgent

    [font="Verdana"]Sigh. There's always a critic. 😛

    Quite right, of course. A calculated column with getdate() in it will not persistable.[/font]

  • RE: Picking up Oracle development skills

    PaulB (2/10/2009)


    Bruce W Cassidy (2/9/2009)Try creating an index on a bit field in SQL Server 2005. Yes, it works.

    Unfortunatelly that's not the concept of an Oracle bitmap index ...

  • RE: Triggers to Protect tracing data?

    [font="Verdana"]I'd still want to do that through declaritive security. But... give it a go! Let us know the results. :D[/font]

  • RE: DateTime Colunm and Indexes

    [font="Verdana"]True.

    Perhaps a better approach would be a join to a Calendar table, where MonthNumber = 1? But if you don't have a Calendar table, your second form is correct.

    [/font]

  • RE: Find all rows in a VARCHAR that can't be cast into an INT

    [font="Verdana"]

    You could try using something like the following:

    select *,

    case

    when...

  • RE: DateTime Colunm and Indexes

    [font="Verdana"]Have a look at the query plan. I'd expect it to use the index though.

    Also, try and get in the habit of writing your dates as 'YYYYMMDD', because just...

  • RE: Trigger Problem-Urgent

    [font="Verdana"]It's usually not too hard to do a code search within the database and applications to find whether a column is referenced.

    I agree that the use of an instead of...

  • RE: SQL or Oracle

    Perry Whittle (2/9/2009)


    Oracle is by far the most powerful and flexible of the two.

    In Oracle RAC the distributed cache memory is shared between the cluster nodes and this offers...

  • RE: case statements to insert/update

    [font="Verdana"]Check out the merge statement in SQL Server 2008.[/font]

  • RE: Picking up Oracle development skills

    PaulB (2/9/2009)


    [...]and stuff that does not exist in the SQL Server world like bitmap indexes, star-transformation, materialized views, etc. - just to mention a few of them 😉

    [font="Verdana"]Reverse-key indexes and...

  • RE: Finding the number of occurences of a substring within a varchar field

    [font="Verdana"]You will often see that "numbers" table referred to as a "tally" table here as well. Yeah, I need more practice around thinking about set-based results in that fashion.[/font]

  • RE: string comparison

    [font="Verdana"]I think you want an operator.

    Dial tone...

    Me: Operator? I want to compare two strings please.

    Operator: =!=<>

    Wow, operators these days are so rude!

    [/font]

  • RE: stored procedure pro

    [font="Verdana"]SQL Profiler will capture exactly what is going on, and you can limit it down to just capturing what is happening with that table. It does take a little...

Viewing 15 posts - 721 through 735 (of 851 total)