Forum Replies Created

Viewing 15 posts - 1,501 through 1,515 (of 1,553 total)

  • RE: A simple one ?

    I'm probably not getting the point here, but..

    Why the loop-thingy at all?

    Seems unnecessary to me - just get what you're after within the given daterange - at least that what...

  • RE: DB design: 1 to many, to many, to many...

    No solution, just some questions as how this new approach is

    supposed to work in reality.

    After all, that's what you have to model.

    If a ticket is...

  • RE: what is *=?

    Only thing is it's legacy syntax, and not recommended to use (if possible)

    If you're in a situation where you can choose, never use *= or =*syntax for outer joins.

    Use the...

  • RE: EXEC sp_detach_db

    No real answer to your question, but...

    why do you create the db first and then do the shuffling around?

    There's no need for that at all. Just find out where to...

  • RE: Stored Procedure Job Status

    No, yes and no.

    Issue 1 - No, you can't output like you want in any easy manner.

    When a batch is run in QA (like exec myProc), results will be returned...

  • RE: Im unable to update a table, I think triggers are to blame

    Short answer (imho of course) is No.

    It's not appropriate to circumvent triggers by disabling / enabling them.

    Having said that, I'm sure that there may be some circumstance that would warrant...

  • RE: Replication Control

    Well, I'm by no means any replication guru, so I guess that you could.

    After all, all things are run through stored procs anyway.

    Questions is more why you want to meddle...

  • RE: DateTime to Character

    Just be aware that often when applying a function on a column,

    the same behaviour as using a cursor happens.

    The effect may be that performance becomes abysmal for the query.

    If...

  • RE: Replication Control

    There is however no such thing as a 'replication service', so I'm not really sure as to what the question really is..?

    /Kenneth

  • RE: Help

    It would be far better to call the procedure from OSQL or ISQL with the -o parameter.

    just my .02 of course...

    =;o)

    /Kenneth

  • RE: Identifying changed rows in a table

    The most efficient method is to implement a 'last changed' column in the load table.

    However, it's very likely that this also forces the mechanism that modifies the loadtable to be...

  • RE: Replication Control

    AFAIK, there's no easy answer to this. It may depend on what kind of replication you're running,

    why you want to stop it (not something you would normally want to do)...

  • RE: Help

    Since the ouptut consists of more than one resultset, you need a proc.

    SELECT DISTINCT message

    FROM Table -- provides the 'Missing sales' string

    SELECT area, storenum

    FROM Table

    ORDER BY area -- provides...

  • RE: Rewrite Query with Nested Queries and Cross Join

    Looks like something a codegenerator would barf out... =;o)

    I would do it along theses lines....

    Find out exactly what the purpose of this query is.

    Rip it apart piece by piece and...

  • RE: SP ScriptProblem

    A couple of things....

    Firstly, you most likely don't want @unitweight to be of type real.

    I'd guess that a numeric(n,2) would do the job for you. Real is an imprecise datatype,...

Viewing 15 posts - 1,501 through 1,515 (of 1,553 total)