Forum Replies Created

Viewing 15 posts - 2,626 through 2,640 (of 6,677 total)

  • RE: sp_send_dbmail

    Declare @sqlCommand nvarchar(max)

    , @recipients varchar(max) = '{your email address here}';

    Declare @body nvarchar(max) = 'This File created on: ' + convert(char(10), @startDate, 121);

    ...

  • RE: Loading CSV files into SQL Server Database tables

    SQL Server Data Tools is a freely available download for SQL Server - you don't need Integration Services to create and execute packages within the development tool.

    You do need Integration...

  • RE: Urgent!!Need to write a sql script

    patilpallavi16 (9/13/2016)


    Actually I want to write a sql script rather than use SSIS package. And the requirement is to output a text file with the give specs.

    I just gave...

  • RE: database backup scheduled task not working

    When you run a batch file - or powershell script - from the task scheduler you have to identify what account the task scheduler job will use. This needs...

  • RE: SQL Authentication Via AD Groups Part III: What About Orphaned Users?

    If you setup a read-only replica in an Availability Group - you will also have orphaned users in the databases that are setup for read-only access. For windows users...

  • RE: Which sp runs when a job fails and we notify operator via email

    SQL Server Agent should be using Database Mail - which uses sp_send_dbmail. You don't need to intercept anything...instead of checking the box to notify the operators, you just create...

  • RE: Slow backups

    If your SAN is a Compellent - and you are backing up to the same file, then it could be that file is getting dropped to the lowest tier on...

  • RE: How to create a Stored Procedure from this Code

    Hugo Kornelis (3/2/2016)


    The alternative, since this appears to be some type of ETL process to feed a DW table, would be to create an SSIS package.

    That tool is specifically built...

  • RE: Log initial size

    If your log has stabilized at 3GB - and was grown out in 512MB chunks - I don't see any problems here that need to be addressed. You have...

  • RE: SQL Index Issue

    You need to run an integrity check on that database:

    DBCC CHECKDB(ETL) WITH NO_INFOMSGS, ALL_ERRORMSGS;

    Review the results (and post the errors here if needed) to figure out what your next options...

  • RE: Copy of 1 TB prod database

    If your network latency between prod and UAT is too high - the restore process could fail, not to mention the fact that you will be using the network on...

  • RE: login transfer in dbmirroring

    This can somewhat be automated using SQLCMD or Powershell. If you can setup contained databases it is much easier to just create the user in the database and let...

  • RE: 3rd party tools for backup compression

    One advantage of the third-party tools is the ability to stripe the backups into a single-compressed file. Striping this way can reduce the time it takes to actually perform...

  • RE: Username and password issue

    When looking for these 'special' accounts - you have to specify the local system and search for 'nt service\mssql'. Once you do that they will show up and you...

  • RE: Tempdb full issue

    Since that drive is dedicated to tempdb - why are you concerned with recovering disk space? Let it use what it needs...

    As for the objects - do you have...

Viewing 15 posts - 2,626 through 2,640 (of 6,677 total)