Forum Replies Created

Viewing 10 posts - 1 through 10 (of 10 total)

  • Reply To: Dos and Don'ts of Dynamic SQL

    I use a similar approach (converting the statement to XML), but slightly different. I've seen this method in various open-source scripts, most notably in Adam's Machanic sp_WhoIsActive and I've seen...

  • Reply To: Dos and Don'ts of Dynamic SQL

    Nice article. What I usually do, is use what I call SQL snippets and placeholders which I later use to replace / inject what I need. For example:

    SQL snippet:

  • This reply was modified 5 years, 8 months ago by  alin.selicean. Reason: Missed something :)
  • RE: The Ultimate Missing Index Finder

    Hi folks

    I just came across this script and one thing that puzzled me was this piece of code:

    (CONVERT(Numeric(19,6), sys.dm_db_missing_index_group_stats.user_seeks)+CONVERT(Numeric(19,6), sys.dm_db_missing_index_group_stats.unique_compiles))*CONVERT(Numeric(19,6), sys.dm_db_missing_index_group_stats.avg_total_user_cost)*CONVERT(Numeric(19,6), sys.dm_db_missing_index_group_stats.avg_user_impact/100.0) AS Score

    I usually saw the seeks added up...

  • RE: Apology for today's article

    I agree and I found the name... Was saying to make it public in their apology letter, although, now that thinking it out loud, it would create more publicity for...

  • RE: Apology for today's article

    Also, would be beneficial to make the name of the "author" public so other sites will be aware of him and his practices.

  • RE: Automatic Alert Generation in the event of SQL Server Cluster Failover

    I'm using that as well, in conjuction with what I already mention, but this is still internal and relies on SQL server services to be successfully brought online.

  • RE: Automatic Alert Generation in the event of SQL Server Cluster Failover

    I am using a similar approach, but outside the monitored clustered SQL Server. I have added an external application (a .CMD file) as a clustered resource. It uses a SQLCMD...

  • RE: FTP Task in Foreach Loop container with expressions

    Working on that... Will keep you all posted. Thank you, all, so far.

  • RE: FTP Task in Foreach Loop container with expressions

    Yes, it does. All SQL Services run as a local user account with read privilleges on the local folder. I have already checked that. I'm stuck...

  • RE: FTP Task in Foreach Loop container with expressions

    Thank you, guys.

    The DelayValidation did the trick. I don't know how I overlooked it. Thanks again.

    But.... 🙂

    Still got errors. When I assign the local path to the LocalPath property, I...

  • Viewing 10 posts - 1 through 10 (of 10 total)