Forum Replies Created

Viewing 15 posts - 721 through 735 (of 1,347 total)

  • RE: Delete error statement getting again n again...

    You haven't posted any table DDL or constraint definitions, nor the DELETE statement itself, so it's tough to say ..

    >>and i am deleting records from store table whose flag is...

  • RE: Delete error statement getting again n again...

    It runs sometimes and not others because it is data dependant.

    >>DELETE statement conflicted with TABLE REFERENCE constraint 'FK_employeeHeader_storeemp'

    Depending on what table is at the foreign key side of FK_employeeHeader_storeemp  and depending...

  • RE: Delete error statement getting again n again...

    This is not a DTS issue, it's aproblem with the DELETE statement trying to delete records that are still referenced by foreign keys in other tables.

    You either need to implement...

  • RE: Date problem in view

    What is  dbo.vw_employee_days.calendar_days  ?

    We don't have the view definition, and it's tough to know what to make of a WHERE that appears to compare something that is a number of...

  • RE: Date three months ago (sort of...)

    Ever heard of Y2K ? Why not use a code in the YYYY-MM format to avoid ambiguity ? Or use a real date...

  • RE: Looking for Newgroups/forums for VB.NET

    I generally just use the microsoft.public.* newsgroups.

    Either via their Google archive:

    http://groups.google.com/group/microsoft.public.dotnet.languages.vb?lnk=lr

    Or directly through a news reader client. I've found this to be a great resource, with frequent contributions from...

  • RE: SUM not correct

    Fair enough, but you see the general point ? You can't post a whole whack of code and say "it's wrong" without posting what the requirements are and what the...

  • RE: SUM not correct

    >>I should be getting -165 for rmstranamt in the end, not -265 which I'm getting now.  Somewhere it's skipping 100

    No-one here can assist until you explain why.

    According to your query...

  • RE: Passing Mutiple values in SELECT/WHERE - Comparing 2 tables ???

    NOT EXISTS instead of NOT IN:

    SELECT dbname, dbid, dbservername,  dbcreate

    FROM AuditSYSDB_DailyRefresh As R

    WHERE NOT EXISTS (

      SELECT *

      FROM AuditSYSDB_Static  As S

      WHERE S.dbid = R.dbid

      AND     S.dbname=R.dbname

    )

  • RE: Temp Table Help

    You can't use a cursor in a derived table, regardless of whether you have atemp table pre-built. And it's a good thing too, because the performance would be hideous.

    It all...

  • RE: problem using getdate() in "where" clause

    >>That's more or less what Joe Nakanishi suggested, isn't it?

    Nope. That suggestion was for 2 CONVERT()'s in the WHERE, which precludes index usage.

    >>"it might be worth setting 2 variables to...

  • RE: 19 hours and no results!!!

    When you run a large update like this, it requires log space. If your logfile isn't large enough, it may auto-grow. Auto-growing takes time, and depending on your auto-grow parameters...

  • RE: Optimization of Query

    >>LEFT JOIN Currency C on C.id = t.CurrencyID

    >>WHERE c. is not null

    That is equivalent to:

    INNER JOIN Currency C on C.id = t.CurrencyID

    ... with no need for a WHERE. Might change the...

  • RE: Can''''t get more than 1.7G of RAM allocated...

    Unfortunately the /3GB switch only works on the Win2000 Server OS on Advanced and DataCenter versions. it is not supported on Standard.

    http://support.microsoft.com/kb/291988/

    Note, the answer to this and many other...

  • RE: stripping numeric text out of a field

    Not wierd, just working as per the original requirements - which were to strip non-numerics from the beginning of the string.

    There was nothing in the original poster's question or the...

Viewing 15 posts - 721 through 735 (of 1,347 total)