Forum Replies Created

Viewing 15 posts - 5,971 through 5,985 (of 7,164 total)

  • RE: Are the posted questions getting worse?

    EDIT: oops...wrong thread

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Are the posted questions getting worse?

    Any ideas?

    http://www.sqlservercentral.com/Forums/Topic1128502-391-1.aspx

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Importing text data via BCP and removing double quotes.

    sturner hit the nail on the head...we must have been working on this at the same time

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Performance Difference Between TOP 1 and TOP 2, FTS+Relational Mixed Query

    Thanks, but a picture is not going to help much. Can you please save off the plans as .sqlplan files and attach those?

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Resolve the divide by -zero error occurred in SSIS Expression

    SSIS is type-safe and is fussy about implicit conversions from one data type to another which is what you;re experiencing. Basically, in all the cases you mentioned, it's complaining about...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Winform interface to sql server agent jobs

    It sounds a little bit like you're aiming to re-invent the wheel...are you sure this is something you want to give users the ability to do?

    If you must, then here...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Performance Difference Between TOP 1 and TOP 2, FTS+Relational Mixed Query

    Doing a text compare these are the only diffs:

    |--Top(TOP EXPRESSION: ((1)))

    |--Nested Loops(Left Semi Join, WHERE: ([SearchDB].[sys].[fulltext_index_docidmap_132195521].[docid]=FulltextMatch.[docid]))

    |--Top(TOP EXPRESSION: ((2)))

    ...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Resolve the divide by -zero error occurred in SSIS Expression

    Oops, I neglected to mention one thing...I changed the variables from Int32 to Double. Please do that and you'll hopefully see what I see.

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Need Help on basic syntax for SQL Function

    satishchandra (6/20/2011)


    create Function fn_test(@TestCol int)

    returns table

    as

    If (@TestCol =1)

    select 'Abc' as Col1

    else

    select 'xyz' as Col1

    -----Gets the following error

    Msg 156, Level 15, State 1, Procedure fn_test, Line 6

    Incorrect syntax near the...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Resolve the divide by -zero error occurred in SSIS Expression

    See if something along these lines will work:

    @Row_Count_tblA /

    (

    (@Row_Count_tblA - @Row_Count_tblB) == 0 ? NULL(DT_I4) : (@Row_Count_tblA - @Row_Count_tblB)

    )

    * 100

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Split a field with duplicate seperators

    kramaswamy (6/20/2011)


    Haha, wow, that is one cute solution. Faking the system into thinking the string is referencing a database table, and then using PARSENAME to display the name of the...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: sortcolumn And SortOrder

    vinaseetha87 (6/20/2011)


    Stored Procedure -How to Pass @SortColumn And @SortOrder

    SQL is a declarative language, i.e. this does not work:

    DECLARE @SortOrder NCHAR(4),

    @SortColumn SYSNAME ;

    SET @SortOrder = 'ASC' ;

    SET...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Split a field with duplicate seperators

    Will dot ( . ) ever naturally appear in the string?

    If not then something like this may work:

    SELECT PARSENAME(REPLACE('RNL00:123456-3:1', ':', '.'), 1),

    ...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Measuring DB size

    Sumanta Roy (6/20/2011)


    Hi,

    Is there any way we can measure how much is the database growth in last one hour if the database size is not captured before one hour?

    I am...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: how many sql server error logs are there? from within sql.

    You may want to have a look at master.sys.xp_enumerrorlogs. It's undocumented (means unsupported by Microsoft so don't call them if you have an issue, or me for that matter ;-))...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

Viewing 15 posts - 5,971 through 5,985 (of 7,164 total)