Forum Replies Created

Viewing 15 posts - 4,816 through 4,830 (of 6,035 total)

  • RE: How to find any reference to a linked server in all procs, functions or views

    You can search text in syscomments table like so:

    SELECT DISTINCT so.name

    FROM syscomments sc

    INNER JOIN sysobjects so ON sc.id=so.id

    WHERE sc.TEXT LIKE '%UKSQL01%'

  • RE: Separation of Duty

    Franklin's Gambit says that we often use data and explanations to justify a decision we've already reached, rather than actually prove that some choice is the best one.

    This tendency...

  • RE: Growing Your SQL Server Skills without Breaking the Bank

    In addition to reading blogs and forums, I spend a lot of time listening to audio podcasts while commuting in the car. I'm surprised no one has mentioned Microsoft's Channel...

  • RE: convert crystal to SQL

    I'm not certain what formatting "####0" represents, it could be padding with spaces or zeros, but basically it would be a CASE expression like so:

    case inc_data.event_type

    when 'c' then 'R'+left('00000'+cast(incident.incident_ref...

  • RE: Query on a shared and exclusive lock

    The SELECT won't be blocked, unless the SELECT attempts to read a page that has some type of exclusive lock on it. Update locks are generally at page level, unless...

  • RE: Insert identity dynamically by using insert into

    Perhaps the table column you're inserting into needs an identity property. If you must define number externally, then use row_number() or insert into temp table containing identity column, and then...

  • RE: select DISTINCT cost too high?

    When you display execution plan in SSMS, does it suggest any new index?

    From what I see, it could at least use an index on Mark_No, but query plan analyzer may...

  • RE: nvarchar(max) or nvarchar(1000)?

    taigovinda (8/2/2013)


    Hi,

    I have a concatenated field that is usually about 80 characters but sometimes has been up to 600 characters. It could conceivably be longer than that. How...

  • RE: DEF CON SQL

    My portable toolbox includes a USB to SATA/IDE adapter, so I can easily pop the HD out of one laptop or PC and mount it on another, and it's useful...

  • RE: Find and update the Schema changes of a table?

    prakashr.r7 (7/30/2013)


    Eric M Russell (7/26/2013)


    I wouldn't even attempt to use SSIS to make daily copies of tables with schemas that can change daily.

    First, you can query INFORMATION_SCHEMA.COLUMNS to determine if...

  • RE: How to understand NoSQL Databases

    Many client access libraries (ADO.NET and LINQ) support CRUD operations for XML. Also, starting with Windows 2008 / Vista, the NTFS file system supports transactional writes. So, an XML document...

  • RE: Client does not want to pay overtime. How to deal with it ?

    SQL Guy 1 (7/26/2013)


    Employee or consultant, it's not such important how I am called. But here is the situation, and I'll try to explain it as clear as possible....

  • RE: Find and update the Schema changes of a table?

    I wouldn't even attempt to use SSIS to make daily copies of tables with schemas that can change daily.

    First, you can query INFORMATION_SCHEMA.COLUMNS to determine if there have been any...

  • RE: Password Ninjas

    My Lenovo laptop came bundled with something called VeriFace, which can substitute facial recognition for login password. It also appears to encrypt files and folders using using facial recognition. However,...

Viewing 15 posts - 4,816 through 4,830 (of 6,035 total)