Forum Replies Created

Viewing 15 posts - 13,606 through 13,620 (of 13,849 total)

  • RE: Could not find database table ID 2, name tempdb..

    Sorry for asking the bloody obvious, but has tempdb been deleted? As you cannot start the SQL Server service, check in Windows Explorer for existence of C:\Program Files\Microsoft SQL...

  • RE: Float(53) is not double precision when in declared variable?

    Yes - Print does an implicit conversion to char or varchar if it can.

    Phil

  • RE: Float(53) is not double precision when in declared variable?

    I think it is the cast to varchar where you are losing data. Try using the STR() function:

    DECLARE @a as float(53)

    DECLARE @DynSQL1 varchar(1000), @DynSQL2 varchar(1000)

    SELECT @a = 367970.45

    SELECT @DynSQL1...

  • RE: Weekend Task needs to run without users logged in

    Forcibly terminate all user processes as step 1 of your scheduled task - here's a stored proc that I got from somewhere that does this, for a named db:

    SET QUOTED_IDENTIFIER...

  • RE: Problem with trigger

    As you are not relying on the 'inserted' table in any way, is there any reason why you don't just create a view over the dbo.assay_sample table?

    create view vwUDEF_PIMA as

    SELECT...

  • RE: Use DTS to move ORacle to SQL

    You may like to keep the new tables in a completely separate database to allay management concerns relating to upgrades of the JDE databases. This would seem to be...

  • RE: Query Analyzer Problem

    First thing: do you really need

    select * ...

    or can you just select the fields you need?

    Next thing to do is replace the subquery with a join and replace the...

  • RE: Query Analyzer Problem

    I've got an idea that I've read somewhere that EM returns the results of such a query in 'batch' mode - allowing you to see subsets of results as they...

  • RE: Use DTS to move ORacle to SQL

    So why not create a table in Oracle that contains UPC codes from SQL Server? This should do away with all that text file business.

    Part 1: ensure that the...

  • RE: Use DTS to move ORacle to SQL

    Ken, I'm not sure that I can picture the sequence of events you are considering. Are you saying that you would analyse the existing SQL Server data and then...

  • RE: Use DTS to move ORacle to SQL

    Hmmm - tough one. Is there some way that you can start maintaining a "Transfer to SQL Server?" flag against the Oracle data. You will know from the...

  • RE: Use DTS to move ORacle to SQL

    Rather than using straight DTS, have you thought about adding the Oracle server as a 'linked server' and using straight T-SQL to accomplish the data transfer?

  • RE: Counting and grouping

    What is the relationship between tables a and b - is it on event?

    So, in English terms, table a is an 'Account Events' table and table b is an 'Event...

  • RE: Counting fields with specific values

    "Also you may want to consider an extra field on the row to say completed."

    Expanding on Eric's idea, why not create an extra calculated field on the table = number...

  • RE: Drop Extended Stored Procedure

    Try unregistering the DLL, type:

    regsvr32 '[enter full dll file path and name]' /u

    from a DOS prompt and then reboot and try deleting it again.

    Phil

Viewing 15 posts - 13,606 through 13,620 (of 13,849 total)