Forum Replies Created

Viewing 15 posts - 7,846 through 7,860 (of 8,753 total)

  • RE: The "Numbers" or "Tally" Table: What it is and how it replaces a loop.

    More for fun but fitting the discussion, kind of before and after:-D

    😎

    Before

    create function sys.fn_numberOf1InBinaryAfterLoc (@byte binary, @loc int)

    returns int

    as

    begin

    declare @index int, @mark-3 int, @counter int

    ...

  • RE: OpenRowset Issue

    What are the data types of the stored procedure's parameters? Is it possible that the @IdEmployee is a character type?

    Better yet, can you post the procedure code (remove any sensitive...

  • RE: OpenRowset Issue

    Quick question, can you do a normal select with the same openrowset statement, something like select * from sysobject?

    😎

  • RE: OpenRowset Issue

    KGJ-Dev (7/9/2014)


    When i execute the above query here is the error am getting

    Msg 7357, Level 16, State 2, Line 1

    Cannot process the object "

    ...

  • RE: Are the posted questions getting worse?

    Koen Verbeeck (7/9/2014)


    GilaMonster (7/9/2014)


    WHERE Coalesce(NotNullableColumn,-1) = 0

    and CategoryID = @CategoryID

    Group By CategoryID

    ......

    Imo there is not necessarily something wrong with the group by.

    The coalesce on the other hand is for people...

  • RE: Compress table timelines

    Alan.B (7/9/2014)


    Eirikur Eiriksson (7/8/2014)


    No need to complicate things, the only thing needed here is correct window specification for the row_number function.

    😎 ...This brings the cost of execution for this...

  • RE: Are the posted questions getting worse?

    Luis Cazares (7/9/2014)


    GilaMonster (7/9/2014)


    WHERE Coalesce(NotNullableColumn,-1) = 0

    and CategoryID = @CategoryID

    Group By CategoryID

    ......

    What where they thinking? They need to use ISNULL to preserve the data type from the column. :hehe:

    Do you...

  • RE: Maximum Tenancy Ref

    Quick question, do you have some sample data?

    😎

  • RE: Are the posted questions getting worse?

    SQLRNNR (7/9/2014)


    Eirikur Eiriksson (7/9/2014)


    Grant Fritchey (7/9/2014)


    Where does my data come from?

    Well the mommy data and the daddy data loved each other very much so....

    ...and now the Backups are coming for...

  • RE: OpenRowset Issue

    KGJ-Dev (7/9/2014)


    Hi Eric,

    Thakns for your reply and when i execute am getting sysntax error

    declare @IdEmployee int = 11,@Name varchar(20) = 'Peter';

    EXEC('SELECT *

    ...

  • RE: Are the posted questions getting worse?

    Grant Fritchey (7/9/2014)


    Where does my data come from?

    Well the mommy data and the daddy data loved each other very much so....

    ...and now the Backups are coming for a visit this...

  • RE: migration sql databaase

    Grant Fritchey (7/9/2014)


    I'll come right out and say it. No, it's impossible to just migrate your database over using any straight method.

    I agree with the steps Hanshi laid out...

  • RE: How to Consume Return Values From Table Valued Function

    Quick thought, place the function in a cte and use the output in the insert.

    😎

  • RE: migration sql databaase

    This isn't too much of a challenge and definitely NOT a question of transferring 7TB in 30 min. Here is a quick suggestion:

    a. Do a full backup of the 2K...

  • RE: migration sql databaase

    solomon.jernas (7/9/2014)


    is it possible to migrate 7TB database within 30 minutes ?

    if yes, what is the best way ?

    Regards

    Jernas

    Without more information, it is impossible to say. Any kind...

Viewing 15 posts - 7,846 through 7,860 (of 8,753 total)