Forum Replies Created

Viewing 15 posts - 6,811 through 6,825 (of 7,187 total)

  • RE: Help with difficult Query

    Would this work, then?

    INSERT INTO #temp_Metrics_aspStart_Time,End_Time)

    SELECT CAST (mt.New_idle_Time AS datetime), -- datatype is decimal

     CAST (mt.New_idle_duration AS datetime-- datatype is decimal

    FROM tbl_metrics_asp_test mt

    John

  • RE: Help with difficult Query

    What sort of information is in the idle_time and idle_duration columns?  Is it a number of seconds, or is it a decimal number that represents the number of days... or...

  • RE: Help with difficult Query

    Francis

    You don't say what you want to do with the data when you get it, so I have assumed you want to add the number of seconds in each half-hour...

  • RE: restore all databases, including system dbs, on one server to another

    Kathleen

    Are you not able to start SQL Server from a command prompt, either?  Look up the sqlservr syntax and try using the -c, -m or -f parameters.  Using trace flag...

  • RE: Missing Join Predicate

    Jan

    Is there an event immediately before the Missing Join Predicate event with the same SPID that might give you a clue?

    John

  • RE: Security Risk! Has anyone seen this before?

    Look up the topic "dtsrun Utility" in Books Online for details of how to encrypt the parameter string, and much more.

    You can still schedule through SQL Server - make sure...

  • RE: Moving the Distribution Database

    I know you can't detach a user database that's involved in replication, but I don't know whether that's true of the distribution database.  I have a feeling it is.  If...

  • RE: restore all databases, including system dbs, on one server to another

    Kathleen

    Not that I've ever done this before, but I think you need to use the sp_addserver stored procedure to change the name of your server.  See if you can start...

  • RE: Nested case Statment

    Richard

    COALESCE is more concise when you're testing for nulls:

    SELECT COALESCE (test1test2test3test4AS sample1

    John

  • RE: EXEC in SQL Functions

    Vidhya

    Can you not use a stored procedure instead of a function?

    John

  • RE: Linked servers in a cluster environment

    Chris

    MSDTC is configured differently on a cluster server, using the comclust utility.  You should be able to find plenty of information on this on the Microsoft website and elsewhere.

    John

  • RE: MSDB issues

    Souvik

    It looks as if the backoffice database is taking about 6 minutes to start.  Perhaps there are a lot of transactions to roll forwards and back in that database.  Does...

  • RE: Urgent problem peformance issue after database migration

    Michelle

    I'm sure Rudy will chip in with his performance tuning shortlist (if he doesn't then search for it on this site) but in the meantime, how often do you update...

  • RE: What is the different between transaction in SQL Server and ADO.NET

    Vladimir

    Without knowing more about your application, it's impossible for me to offer any specific advice.  For example, I can't think of any reason why you would want users to be...

  • RE: useing IN clause with variable?

    Darren

    That's because you haven't addressed the original problem of needing dynamic SQL or a table-value function.  Although I suggested a way of doing the former, it doesn't scale up very...

Viewing 15 posts - 6,811 through 6,825 (of 7,187 total)