Forum Replies Created

Viewing 15 posts - 1,711 through 1,725 (of 1,988 total)

  • RE: How to reduce MDF file size ?

    WhiteLotus (5/1/2015)


    Grant Fritchey (5/1/2015)


    WhiteLotus (5/1/2015)


    Grant Fritchey (5/1/2015)


    3gb is teeny tiny as databases go. Since you're at 99% usage on the data, I'd suggest moving this to a larger drive so...

  • RE: Creating Primary Key on temporary table question

    Lynn Pettis (4/30/2015)


    ScottPletcher (4/30/2015)


    Don't name the constraint, as constraint names have to be unique.

    ALTER TABLE dbo.test

    ADD PRIMARY KEY CLUSTERED

    ( ReportRunTime, VisitID, SourceID, BaseID, OccurrenceSeqID, [DateTime], SeqID, QueryID, Response );

    Since you...

  • RE: Cannot Open Datafile when running Agent Job

    Well if this is just an install on your workstation no one else is using you could change the SQL Server agent to use your account and see what happens...

  • RE: Trouble playing with dates

    What format are the values in the anniversary field? It's a string so you'll need too know that to know how to parse it.

  • RE: Get Fiscal Week Number

    CELKO (4/30/2015)


    mm7861 (4/29/2015)


    I am using a calendar table. The code is intended for a stored procedure that will populate the calendar table.

    Your mindset is still locked in procedural coding and...

  • RE: DBCC Shrinkdatabase run every week?

    Are they actually doing anything that causes the databases size to fluctuate enough on a regular basis that this is even worth doing?

  • RE: Get Fiscal Week Number

    Is this something like what you were looking for?

    WITH CTE_TALLY_10(COL_ONE) AS(

    SELECT 1 UNION ALL SELECT 1 UNION ALL SELECT 1 UNION ALL SELECT 1 UNION ALL SELECT 1 UNION ALL...

  • RE: Get Fiscal Week Number

    Well is your fiscal year going to start on 4/6 every year or will that date change every year?

    Weeks don't break into years cleanly the way months do....

  • RE: Sql Server 2005 Packages to Sql Server 2014

    Can you try opening them in BIDS not SSMS, then saving them to a dtsx file and working from there?

  • RE: SQL Serlect - Result export to EXCEL

    If the result set isn't too large copy paste works fine.

  • RE: Query with 85 Columns

    In step three you mention that the data is pulled from SQL Server then processed on the target system, can you verify that the performance issue is actually SQL Server...

  • RE: Query with 85 Columns

    What exactly are you doing with the data, writing it to a file? Is there an application pulling it in one row at a time?

  • RE: What are options to create DB for develops?

    If they're just developing reports it shouldn't matter what the data is, they should be able to tell you whether the report accurately reflects the data in the database regardless...

  • RE: What are options to create DB for develops?

    Do your developers really need data that current to do dev work against?

  • RE: SQL query help

    ScottPletcher (4/23/2015)


    ZZartin (4/23/2015)


    ScottPletcher (4/23/2015)


    Lynn Pettis (4/23/2015)


    ScottPletcher (4/23/2015)


    Lynn Pettis (4/23/2015)


    CELKO (4/22/2015)


    Why are you changing obvious integer data types to character data types?

    Please read any book on basic data modelling and...

Viewing 15 posts - 1,711 through 1,725 (of 1,988 total)