Forum Replies Created

Viewing 15 posts - 1,546 through 1,560 (of 2,038 total)

  • RE: New to SQL Server

    Hi

    You should also have a look for the MSDN Academic Alliance (MSDN AA). I'm not sure if this is also available for teachers but it would be a low price...

  • RE: SQL SERVER 2008 DB Always in use

    Which Edition of SQL Server?

    Could you please post your connection-string (sure, without real user and password!)?

    Greets

    Flo

  • RE: T-Sql rant

    Jeff Moden (4/5/2009)


    steve dassin (4/4/2009)


    Mike C (4/4/2009)


    Jeff Moden (4/4/2009)


    steve dassin (4/4/2009)


    C'mon do you really have something against parentheses?

    Actually, yeah. 😉

    Personally I hate those curly braces. Growl.

    C'mon you got something against...

  • RE: Challenging SQL interview questions

    Hi

    Maybe the part with "apparently unqualified" was a little rude. Sorry for that Barry! But he is also right with it. Maybe I would write it in another way (e.g....

  • RE: Help. Cannot create an index into a view

    Hi Zen

    Here we go... 😎

    First, my final interpretation of your procedure:

    If @TIENDA is 1, 2 or 3 the returned data are always the same.

    If @TIENDA is 1 you also fill...

  • RE: Knowledge sharing: Date conversion according to TimeZone

    Oops, sorry! Thought you're from America like most people here

    It's also not really morning here (currently it's 12:42 pm in Germany). May ask where are you from?

    I'm out for now,...

  • RE: Knowledge sharing: Date conversion according to TimeZone

    Good morning Paul!

    I would also handle this different. Just alike your second approach to provide the client UTC offset to the function as DECIMAL.

    I'm sure it's just a typo in...

  • RE: T-Sql rant

    Hi Everybody

    I didn't notice this "The Thread" since now. I've read (almost) all posts but I think there are some thinks still not said. Just the most important in, in...

  • RE: datatype to store files

    I would suggest VARBINARY(MAX) because IMAGE is marked as deprecated and will be removed in future versions of SQL Server (I still don't completely understand why...).

    If you use SQL Server...

  • RE: Knowledge sharing: Date conversion according to TimeZone

    So on my server the right value is:

    SET @TimeDiff = CONVERT(DECIMAL(2,2),@TimeDiff / 24) + 0.003333334

    Seems to be funny for deployment 😀

    Greets

    Flo

  • RE: Huge Bitmap

    Hi Paul!

    I've enjoyed this thread, and I think you have too. With luck the OP may get some use from it, or at least it might give him/her some...

  • RE: How to return a "start of group" column?

    Paul White (4/4/2009)


    Good answer flo - it does exactly what the OP asked for, and efficiently too, with one minor comment: The UNIONs should be UNION ALLs (constant scan instead...

  • RE: Knowledge sharing: Date conversion according to TimeZone

    Hi kruti

    I'm not sure if I tried correct, but if I execute your function I get a difference of 10 minutes:

    SELECT GETDATE() here, dbo._GetActualDate('GMT::2:00') here_converted

    Result

    here ...

  • RE: How to return a "start of group" column?

    You're always welcome!

  • RE: How to return a "start of group" column?

    Hi

    You can check the row-number by category partition:

    DECLARE @Category TABLE (Category VARCHAR(50), Name VARCHAR(50))

    INSERT INTO @Category

    SELECT 'C0', 'N0'

    UNION...

Viewing 15 posts - 1,546 through 1,560 (of 2,038 total)