Forum Replies Created

Viewing 15 posts - 481 through 495 (of 5,356 total)

  • RE: Concatenation

    Just verified it is working for me. But I won't be suprised if the SQLJunkies site again has problems.

    --
    Frank Kalis
    Microsoft SQL Server MVP
    Webmaster: http://www.insidesql.org/blogs
    My blog: http://www.insidesql.org/blogs/frankkalis/[/url]

  • RE: Concatenation

    Hey, 500 posts from Sweden here. Not bad for someone who doesn't like webfora.

    Hm, when I have read this all correct, may I...

    --
    Frank Kalis
    Microsoft SQL Server MVP
    Webmaster: http://www.insidesql.org/blogs
    My blog: http://www.insidesql.org/blogs/frankkalis/[/url]

  • RE: Certification Thoughts - Part II

    The cynical in me might now think, that requirements have (sharply) dropped, because people are not able (anymore) to meet this requirements. After all, when should they learn or do...

    --
    Frank Kalis
    Microsoft SQL Server MVP
    Webmaster: http://www.insidesql.org/blogs
    My blog: http://www.insidesql.org/blogs/frankkalis/[/url]

  • RE: Database Implementation

    Sorry, but what exactly is now your question?

    --
    Frank Kalis
    Microsoft SQL Server MVP
    Webmaster: http://www.insidesql.org/blogs
    My blog: http://www.insidesql.org/blogs/frankkalis/[/url]

  • RE: Complex query?

    use northwind

    select

     sum(case when isnull(freight,0)=0 then 1 else 0 end) as 'ohne Fracht'

     , sum(case when isnull(freight,0)>0 and isnull(freight,0)<18 then 1 else 0 end) as 'unter 18'

     , sum(case when isnull(freight,0)>=18 and isnull(freight,0)<24...

    --
    Frank Kalis
    Microsoft SQL Server MVP
    Webmaster: http://www.insidesql.org/blogs
    My blog: http://www.insidesql.org/blogs/frankkalis/[/url]

  • RE: Creating Table with GetDate Function

    http://www.sommarskog.se/dynamic_sql.html explains how you can do it, and also, why this is a bad idea in most cases.

    --
    Frank Kalis
    Microsoft SQL Server MVP
    Webmaster: http://www.insidesql.org/blogs
    My blog: http://www.insidesql.org/blogs/frankkalis/[/url]

  • RE: Sorting by Date

    create table #showme

    (

     d1 datetime

     , c1 char

    )

    insert into #showme values('20050301 09:30:00','a')

    insert into #showme values('20040815 19:38:00','b')

    select

     *

     , dateadd(d,0,datediff(d,0,d1)) d2

    from

     #showme

    order by

     d2

    drop table #showme

    d1                                                     c1   d2                                                    

    ------------------------------------------------------ ---- ------------------------------------------------------

    2004-08-15 19:38:00.000                                b    2004-08-15 00:00:00.000

    2005-03-01 09:30:00.000                               ...

    --
    Frank Kalis
    Microsoft SQL Server MVP
    Webmaster: http://www.insidesql.org/blogs
    My blog: http://www.insidesql.org/blogs/frankkalis/[/url]

  • RE: Hexidecimal to Decimal

    Just out of curiosity. Did anyone bother to have a look at the link I've posted?

    --
    Frank Kalis
    Microsoft SQL Server MVP
    Webmaster: http://www.insidesql.org/blogs
    My blog: http://www.insidesql.org/blogs/frankkalis/[/url]

  • RE: Congratulations Frank

    Steve, many thanks!

    After all, it are just three letters. They don't make any answer more valid, do they? But I confess it's a cool feeling and I'm proud.

    Why should I get...

    --
    Frank Kalis
    Microsoft SQL Server MVP
    Webmaster: http://www.insidesql.org/blogs
    My blog: http://www.insidesql.org/blogs/frankkalis/[/url]

  • RE: Challenge for SQL Gurus: Grouping and outer joins

    Do this! I certainly have learned a lot from it. And I for myself, enjoy Joe's style of writing.

    --
    Frank Kalis
    Microsoft SQL Server MVP
    Webmaster: http://www.insidesql.org/blogs
    My blog: http://www.insidesql.org/blogs/frankkalis/[/url]

  • RE: Database corruption

    You have read the explanations in BOL on 605? I would guess hardware causing this error, but a call to MS PSS might be a good choice here anyway.

    --
    Frank Kalis
    Microsoft SQL Server MVP
    Webmaster: http://www.insidesql.org/blogs
    My blog: http://www.insidesql.org/blogs/frankkalis/[/url]

  • RE: Challenge for SQL Gurus: Grouping and outer joins

    Unless I am mistaken, Carl is given credit in Joe Celko's "SQL for Smarties".

    --
    Frank Kalis
    Microsoft SQL Server MVP
    Webmaster: http://www.insidesql.org/blogs
    My blog: http://www.insidesql.org/blogs/frankkalis/[/url]

  • RE: Return identity inserted

    You do have read the drawbacks of using @@IDENTITY, haven't you?

    --
    Frank Kalis
    Microsoft SQL Server MVP
    Webmaster: http://www.insidesql.org/blogs
    My blog: http://www.insidesql.org/blogs/frankkalis/[/url]

  • RE: Is Primary key necesary in the Detail Table

    create table #demo

    (

     c1 int

     , c2 char

    )

    insert into #demo values(1,'a')

    insert into #demo values(1,'b')

    insert into #demo values(1,'a')

    select * from #demo

    update #demo set c2='z' where c2='b'

    select * from #demo

    drop table #demo

    c1          c2  

    -----------...

    --
    Frank Kalis
    Microsoft SQL Server MVP
    Webmaster: http://www.insidesql.org/blogs
    My blog: http://www.insidesql.org/blogs/frankkalis/[/url]

  • RE: OLTP/OLAP Data Warehouse

    TANSTAAFL.

    The mindset between OLAP and OLTP is somewhat different. Usually you have a denormalized schema in OLAP db's. At least this transformation from...

    --
    Frank Kalis
    Microsoft SQL Server MVP
    Webmaster: http://www.insidesql.org/blogs
    My blog: http://www.insidesql.org/blogs/frankkalis/[/url]

Viewing 15 posts - 481 through 495 (of 5,356 total)