Forum Replies Created

Viewing 15 posts - 811 through 825 (of 2,487 total)

  • RE: SQL Script that list total database size on server

    Use this bit to get the results without using a cursor. Replace <<mydb>> with a database that exists on your server.

    if not exists (select * from dbo.sysobjects where id...

    --------------------
    Colt 45 - the original point and click interface

  • RE: EOD

    Can you explain what you mean by "End Of Day process"

     

    --------------------
    Colt 45 - the original point and click interface

  • RE: how to get information?

    "What u think i am playing with sql server or i am joking."

    I don't know what to think, that's why I asked the question "Are you really serious that you...

    --------------------
    Colt 45 - the original point and click interface

  • RE: how to get information?

    Are you really serious that you want all this "in one QA window with one sql query" ??

    Closest you're going to get if this is a definate requirement is DBCC...

    --------------------
    Colt 45 - the original point and click interface

  • RE: Tring to add a ''''=========='''' to result set

    Looks like your copy and paste didn't work. There should be a line break or space in between @tbl and GROUP

     

    --------------------
    Colt 45 - the original point and click interface

  • RE: Tring to add a ''''=========='''' to result set

    "... but was looking into other option for a divider inside a drop downlist"

    Another method to skin that cat it to use union queries.

    DECLARE @tbl table ( grp varchar(4),...

    --------------------
    Colt 45 - the original point and click interface

  • RE: function that returns version of operating system

    I doubt you'll get anything in SQL Server to provide client details. From SQL Servers perspective the client could be a server, workstation, web page, application, etc...

    You might be able...

    --------------------
    Colt 45 - the original point and click interface

  • RE: Bulk Insert TSQL in DTS – Rows Affected Count

    How about a different approach,

    1) Bulk Insert into a staging table so you can easily get your rowcount.

    2) Insert into production table so your triggers fire.

     

    --------------------
    Colt 45 - the original point and click interface

  • RE: Bulk Insert TSQL in DTS – Rows Affected Count

    So are you executing the BULK INSERT via an ExecuteSQL task, or are you using the in-built Bulk Insert task? I can't confirm it at the moment, but I believe...

    --------------------
    Colt 45 - the original point and click interface

  • RE: Urgent need for this query

    The presentation format of the data should be done on the client that is displaying the data. eg: Excel, Crystal Reports, Reporting Services, etc...

    This is very clunky and NOT...

    --------------------
    Colt 45 - the original point and click interface

  • RE: remove white spaces

    "1. i want to remove both the hyphen and whiite space

    2. but there are 10000 records which has has got this trouble in that field (Phone_Number). do you mean...

    --------------------
    Colt 45 - the original point and click interface

  • RE: Sp_Cycle_ErrorLog not working

    What account does the SQL services run under? Do the have permissions on the ...\MSSQL\LOG directory? Are you able to stop the SQL services and manually rename the file.

    Maybe...

    --------------------
    Colt 45 - the original point and click interface

  • RE: how to make this simple query to query date without time

    "also don't use a function on a column on a where condition. You don't allow any indexes to be used in the query"

    Hmmm ... guess I've just got a super...

    --------------------
    Colt 45 - the original point and click interface

  • RE: Operating System Command Job step Default Directory

    The Operating System Command step starts in c:\windows\System32 directory because that's where the cmd.exe resides. I don't think you're going to change the startup location without some serious OS hacking,...

    --------------------
    Colt 45 - the original point and click interface

  • RE: Restoring when all I have is the LDF file

    Have you tried Log PI http://www.logpi.com/

    I seem to recall that had the functionality to load log backups. Could get you somewhere maybe

    --------------------
    Colt 45 - the original point and click interface

Viewing 15 posts - 811 through 825 (of 2,487 total)