Forum Replies Created

Viewing 15 posts - 1,486 through 1,500 (of 1,838 total)

  • RE: Adding new Object

    hit the key combination [ctrl] + [shift] + [R], that causes the intellisense to refresh the current window. It usually only gets the object names once when you first...

  • RE: How to create a database backup using visual studio

    wayne.mcdaniel (3/30/2012)


    - Warn the user the database is going down, and everyone needs to log off

    - get the physical file names and locations

    - put the database in single user mode

    -...

  • RE: Strange Proc Behavior with a Web App

    you may want to check if there's a different execution plan used when the proc is called from management studio vs. the application. One of the culprits to check...

  • RE: Select Query, but being picky about the Rows Returned

    interesting problem, I think windowed functions work well here:

    SELECT RelationshipID

    , ParentID

    , ChildID

    , RoleID

    , StatusID

    ...

  • RE: Smallest Decimal

    ColdCoffee (3/22/2012)...but the cast to nvarchat after casting to float or using PARSENAME right over casting of float induces the rounding off...

    seems to be a common problem, converting anything from...

  • RE: Smallest Decimal

    actually I think it's the explicit conversion to FLOAT that messes up both of our solutions not any implicit conversion, so ColdCoffee's solution may be brute force, but without an...

  • RE: Smallest Decimal

    how about something like this to figure out the most decimal places used in the table:

    SELECT MAX( CHARINDEX('.',REVERSE(CAST(CAST(val AS float) AS varchar(11)))) -1 )

    FROM tablename

    WHERE...

  • RE: SQL Alert

    anish_ns (3/22/2012)


    ..."SQL Server Event Alert" Severity "011 - Specified Database Object Not Found"...

    I think the problem is by default, severity 11 errors don't get logged, and SQL Server will only...

  • RE: A Personality Test

    I'd have to say the car that best describes me is an early 90's Acura Integra. Not too flashy, but gets you where you're going quickly, efficiently, and very...

  • RE: How to get running totals?

    What your solution does is create a triangular join, which will not scale well in a real world situation with more records than your sample. The article Eugene posted...

  • RE: Constant Deadlocks on Production

    ssdba (3/6/2012)


    ...Row versioning was an option that had come to mind, but wasnt sure it would help. Was trying to take the more conventional route by either creating specific indexes...

  • RE: Constant Deadlocks on Production

    Is this system an OLTP system? Are you able to determine if the deadlocks are being created by writes blocking writes or are there some caused by reads?

    If writes...

  • RE: Customer as Fact Table

    I'm not sure that MSDN link really answers your question. If you're referring to the actual tables in a SQL Server database then no it doesn't make sense to...

  • RE: SQL Server 2012 SSIS – Sending files using FTP Task

    peter.row (2/23/2012)


    Can the task be configured to use SFTP?

    A very good solution I've been using for a couple years now is at:

    http://www.cozyroc.com/

    They have a number of usefull task components in...

  • RE: SQL Agent Roles

    [RANT] Nothing wrong with the question or answer, but I do have a comment on Microsoft's implementation of SQL Agent security. In typical Microsoft way it's confusing by role...

Viewing 15 posts - 1,486 through 1,500 (of 1,838 total)