Viewing 15 posts - 4,816 through 4,830 (of 6,035 total)
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%'
August 7, 2013 at 11:05 am
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...
August 7, 2013 at 9:23 am
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...
August 6, 2013 at 9:33 am
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...
August 6, 2013 at 8:32 am
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...
August 6, 2013 at 8:06 am
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...
August 6, 2013 at 7:49 am
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...
August 6, 2013 at 7:44 am
taigovinda (8/2/2013)
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...
August 5, 2013 at 3:48 pm
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...
August 5, 2013 at 7:30 am
prakashr.r7 (7/30/2013)
Eric M Russell (7/26/2013)
First, you can query INFORMATION_SCHEMA.COLUMNS to determine if...
July 30, 2013 at 6:45 am
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...
July 29, 2013 at 7:41 am
SQL Guy 1 (7/26/2013)
July 29, 2013 at 7:10 am
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...
July 26, 2013 at 7:33 am
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,...
July 26, 2013 at 7:01 am
Viewing 15 posts - 4,816 through 4,830 (of 6,035 total)