Forum Replies Created

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

  • Reply To: Instance restart with -m flag, SQLCMD unable to connect

    This is a bit late and I hope you already figured it out.  In the case that you have not, here is how I do it.

    1. From my laptop, I...

    [font="Verdana"]Sal Young[/font]
    [font="Verdana"]MCITP Database Administrator[/font]

  • RE: Log file and data file growth

    Here is what I use to see data & log file growth

    /*
    -------------------------------------------------------------------------------------------------
       NAME: DB_RecentFileGrowth.sql
    MODIFIED BY: Sal Young
       EMAIL: saleyoun@yahoo.com
    DESCRIPTION: Displays...

    [font="Verdana"]Sal Young[/font]
    [font="Verdana"]MCITP Database Administrator[/font]

  • RE: check date range for previous year within same table

    sqlstar2011 - Monday, October 22, 2018 9:03 AM

    hi,

    I have following sample data set:

    SaleID    SaleMarkdown    StartDate(yyyymmdd)    EndDate(yyyymmdd)  SaleInPreviousYear    previousyearsaleID
    1            20%                 ...

    [font="Verdana"]Sal Young[/font]
    [font="Verdana"]MCITP Database Administrator[/font]

  • RE: Bringing them back from the dead

    This is a promising script but I'm having some issues. 

    1. If there are other file(s) or folder(s) in the drive that match the pattern "ERRORLOG" it may go to...

    [font="Verdana"]Sal Young[/font]
    [font="Verdana"]MCITP Database Administrator[/font]

  • RE: Best way to filter columns

    I will assume you are using a programming language that is more efficient with patterns and string search to collect all these RSS feeds. Why not do your search...

    [font="Verdana"]Sal Young[/font]
    [font="Verdana"]MCITP Database Administrator[/font]

  • RE: Question for All DBAs (What can I learn to enahnce my career?)

    Here is my list of recommended steps

    1. Develop a plan to learn the basics. The recommendations provided in this thread about your T-SQL skills are key and should be at...

    [font="Verdana"]Sal Young[/font]
    [font="Verdana"]MCITP Database Administrator[/font]

  • RE: log file growth

    Help up help you by executing the code below on your server and replying to this conversation with the result. Replace the "YourDB" values with your database name.

    SET NOCOUNT ON

    USE...

    [font="Verdana"]Sal Young[/font]
    [font="Verdana"]MCITP Database Administrator[/font]

  • RE: drop login

    charipg,

    You can take a look at the blog entry at the link below. Let me know if it helps!

    How Do You Remove Logins From Your SQL Environment[/url]

    [font="Verdana"]Sal Young[/font]
    [font="Verdana"]MCITP Database Administrator[/font]

  • RE: Extended Properties Introduction

    [font="Verdana"]Adam,

    I read your article and enjoyed every bit of it. Your writing style is superb and is consistent with the word “Introduction” from the title. I have read...

    [font="Verdana"]Sal Young[/font]
    [font="Verdana"]MCITP Database Administrator[/font]

  • RE: SQL Server PowerShell Extensions (SQLPSX) Part 1

    Can someone tell me why I can't execute the Get-InvalidLogins. I set-location to the folder with all the SQLPSX code and execute as follow

    PS [TPT60P]>.\Get-InvalidLogins

    Unexpected token 'foreach' in expression...

    [font="Verdana"]Sal Young[/font]
    [font="Verdana"]MCITP Database Administrator[/font]

  • RE: Display Row Count for all Tables

    cadebryant (9/22/2007)


    Comments posted to this topic are about the item Display Row Count for all Tables

    You could also use the system stored procedure sp_spaceused 'YourTableName' .  I actually saved...

    [font="Verdana"]Sal Young[/font]
    [font="Verdana"]MCITP Database Administrator[/font]

  • RE: How to debug in Management Studio

    All you need is the "SQL Server Business Intelligence Development Studio" (included in the SQL 2005 installation DVD) or "Visual Studio 2005".  Create a connection using the Server Explorer.  Then,...

    [font="Verdana"]Sal Young[/font]
    [font="Verdana"]MCITP Database Administrator[/font]

  • RE: Cannot debug SQL2000 sproc from Visual Studio .NET 2005

    Found the answer!

    In MS SQL Server Management Studio, you have to give yourself exec rights to the dbo.sp_sdidebug extended stored procedure.  This procedure is located in master > Programmability > Extended Stored...

    [font="Verdana"]Sal Young[/font]
    [font="Verdana"]MCITP Database Administrator[/font]

  • RE: Cannot debug SQL2000 sproc from Visual Studio .NET 2005

    Wayne,

    I'm going through the same thing right now and the only thing that comes up is the "Output" window with the result from executing the stored procedure.

    I'm still researching & will...

    [font="Verdana"]Sal Young[/font]
    [font="Verdana"]MCITP Database Administrator[/font]

  • RE: FIFO and LIFO with Inventory costs

    An observation/question to clarify.  I believe that LIFO stands for "Last In First Out" & FIFO "First In First Out". If so, then the values you have for solutions 2...

    [font="Verdana"]Sal Young[/font]
    [font="Verdana"]MCITP Database Administrator[/font]

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