Forum Replies Created

Viewing 15 posts - 48,496 through 48,510 (of 59,065 total)

  • RE: Xquery

    Heh... still haven't put that link in your signature line, eh Barry? 😛

  • RE: Using UNION ALL with ORDER BY NEWID()

    The Order BY you have affects the WHOLE query, UNION and all... you need to trick the 2nd query into a standalone query even in the presence of the UNION...

  • RE: Cursor

    simon phoenix (8/30/2008)


    Now only job is to trap the begining and end of those distinct sequence and i think i can do it.

    Missed that... sorry. Easy to...

  • RE: Cursor

    simon phoenix (8/30/2008)


    Hi

    Rog

    You are the SQl Guru, Thanks a lot , i really appreciat it, it was just bugging my head since last week. Now only job is to trap...

  • RE: Cursor

    Heh... ok... my turn. 🙂 And sorry it took me so long to get to this problem...

    First, in order to be fast and short, this fun problem does ...

  • RE: Cursor

    Sorry... My bad... Roger's too. That syntax, starting at ROWS, isn't part of T-SQL in SQL Server 2005.

  • RE: more than one query in CASE-WHEN-THEN statement

    What do you get when you do the following, Gan?

    [font="Courier New"]DECLARE @SomeNumber INT

    SELECT @SomeNumber = Number

    FROM Master.dbo.spt_Values

    SELECT @SomeNumber[/font]

    How many rows were processed? If...

  • RE: Understanding Index defragmentation

    You're talking about "defrag" and then you say "rebuild". Which is it that you are doing?

  • RE: Cursor

    Ummm... I thought Rog gave a solution that didn't include RAC... take a look at his post again. 😉

  • RE: String or binary data would be truncated.

    If execute just the create proc code, you get no errors on creation.

    If you execute the proc in AdventureWorks, you get no run errors.

    What's the problem? 😉

  • RE: swap data between 3 fields?

    Mick,

    You've laid out what you want to do quite nicely. I won't get into the lecture on "normalizing" the data but what is the real data and why do...

  • RE: conversion error

    Heh... do you think that 150,000,000,000 is gonna fit in an INT in SQL Server? 😉

  • RE: OPENROWSET select statement performance -- runs in 4 seconds on test server vs. 3 minutes on production server.

    Does the Oracle table have the same number of rows in test and prod? Does the Oracle table in test and prod have the same indexes? When you...

  • RE: allow varchar value to string and decimal parts

    Just a thought... why not keep the alpha and numeric portions separate and combine them only in a calculated column??? Then you wouldn't have to mess with all of...

  • RE: allow varchar value to string and decimal parts

    Mike Mullen (8/29/2008)


    Here is another solution that builds on the previous suggestions. This one handles a few more variations of the text data and the number to be added.

    Yes, it...

Viewing 15 posts - 48,496 through 48,510 (of 59,065 total)