Forum Replies Created

Viewing 15 posts - 1 through 15 (of 64 total)

  • Reply To: Case part is sloooooow

    Hi krypto69,

    I understand your query, it appears that you are handling medical claims and claim lines with procedure codes. I have worked extensively in these type of tables,

    and I know...

    Ysaias Portes | Forward Thinkers Consulting
    sp_SQLFlightRecorder — open-source SQL Server diagnostic recorder | forwardthinkersconsulting.com

  • Reply To: Guidance Appreciated - Safely deleting large number of rows and resizing a DB

    Hi xxjhxx2

    I recommend that you check first whether the client's data is already isolated in its own tables or partitions. That would be lovely if they do, If so, SWITCH...

    Ysaias Portes | Forward Thinkers Consulting
    sp_SQLFlightRecorder — open-source SQL Server diagnostic recorder | forwardthinkersconsulting.com

  • RE: ISNULL on Empty Set

    Instead of ADODB, you should try to use OLEDB Provider which supports a new feature if your database is SQL 2005 or above called "MARS", Multiple Active Resultsets.

    With MARS you...

    Ysaias Portes | Forward Thinkers Consulting
    sp_SQLFlightRecorder — open-source SQL Server diagnostic recorder | forwardthinkersconsulting.com

  • RE: ISNULL on Empty Set

    If you are using an SQLDatareader Class to read the data, you need must pass either the name of the column or the column order index.

    DECLARE @result VARCHAR(50)

    SET @result...

    Ysaias Portes | Forward Thinkers Consulting
    sp_SQLFlightRecorder — open-source SQL Server diagnostic recorder | forwardthinkersconsulting.com

  • RE: transformation to use ??

    Hi bhavika,

    First your T-SQL statement is wrong and your question does not explain exactly what you want to accomplish.

    Please elaborate a little more so we can understand your need and...

    Ysaias Portes | Forward Thinkers Consulting
    sp_SQLFlightRecorder — open-source SQL Server diagnostic recorder | forwardthinkersconsulting.com

  • RE: auto generated script for ALTER INDEX

    You can use DBCC SHOWCONTIG

    Here is the script that we use, it was developed by Microsoft and you can find it here

    http://msdn.microsoft.com/en-us/library/ms175008.aspx

    T-SQL:

    /*Perform a 'USE <database name>' to select the database...

    Ysaias Portes | Forward Thinkers Consulting
    sp_SQLFlightRecorder — open-source SQL Server diagnostic recorder | forwardthinkersconsulting.com

  • RE: Where are SSRS error logs?

    Look into this folder:

    C:\Program Files\Microsoft SQL Server\MSRS10_50.SSRSBI\Reporting Services\LogFiles

    MSRS10_50.SSRSBI = The name of your SSRS instance Name

    Ysaias Portes | Forward Thinkers Consulting
    sp_SQLFlightRecorder — open-source SQL Server diagnostic recorder | forwardthinkersconsulting.com

  • RE: Changing server time

    Just Stop the [Windows Time] Service so it stops synchronizing with your Domain Controller.

    You DO NOT need to disjoin your server from your Domain.

    Once you are done testing, Start the...

    Ysaias Portes | Forward Thinkers Consulting
    sp_SQLFlightRecorder — open-source SQL Server diagnostic recorder | forwardthinkersconsulting.com

  • RE: How to check "not for replication" status using T-SQL or GUI in SQL 2000

    Use this SQL 2005+ query:

    SELECT OBJECT_NAME(object_id) AS TableName ,

    name AS ColumnName ,

    TYPE_NAME(system_type_id) AS...

    Ysaias Portes | Forward Thinkers Consulting
    sp_SQLFlightRecorder — open-source SQL Server diagnostic recorder | forwardthinkersconsulting.com

  • RE: Database Recovery - DB Not Detached - SQL Server 2000

    If the files are not corrupted, then yes you may attach them to another SQL instance.

    The reason why the OS says they are in used is because you have SQL...

    Ysaias Portes | Forward Thinkers Consulting
    sp_SQLFlightRecorder — open-source SQL Server diagnostic recorder | forwardthinkersconsulting.com

  • RE: Looping through files

    Create a separate table in SQL that stores the names of the files processed.

    create table LoadedFiles(fID int identity not null, fileName varchar(25) not null,

    loadDate datetime not null default getdate(), fileCreateDate...

    Ysaias Portes | Forward Thinkers Consulting
    sp_SQLFlightRecorder — open-source SQL Server diagnostic recorder | forwardthinkersconsulting.com

  • RE: Get Server Instances running on all hostnames

    Thanks for your input, but "SC.EXE" does not query instances, it queries Servers and enumerates all its services.

    My Script lists all the services installed on a particular computer or server...

    Ysaias Portes | Forward Thinkers Consulting
    sp_SQLFlightRecorder — open-source SQL Server diagnostic recorder | forwardthinkersconsulting.com

  • RE: Running SSIS Package on Demand from users desktop

    You must make the package entirely Dynamic, meaning that every possible changeable configuration must be stored either in variables or in an SSIS XML or SQL Configuration.

    Then you can either...

    Ysaias Portes | Forward Thinkers Consulting
    sp_SQLFlightRecorder — open-source SQL Server diagnostic recorder | forwardthinkersconsulting.com

  • RE: Get Server Instances running on all hostnames

    This will work just perfectly for you.

    I have tested it in 2008 and 2005.

    -- To allow advanced options to be changed.

    EXEC sp_configure 'show advanced options', 1

    GO

    -- To update the currently...

    Ysaias Portes | Forward Thinkers Consulting
    sp_SQLFlightRecorder — open-source SQL Server diagnostic recorder | forwardthinkersconsulting.com

  • RE: SSIS on file system

    On SQL 2008 they are stored here:

    C:\Program Files\Microsoft SQL Server\100\DTS\Packages "If you installed it on C:\"

    Check your Integration Services Service Path to get to the package path.

    Ysaias Portes | Forward Thinkers Consulting
    sp_SQLFlightRecorder — open-source SQL Server diagnostic recorder | forwardthinkersconsulting.com

Viewing 15 posts - 1 through 15 (of 64 total)