Viewing 15 posts - 5,236 through 5,250 (of 13,460 total)
i wouldn't be fixated on having a primary key just for the sake of having a primary key;
if you will be searching by [logtime] date primarily , i would simply...
Lowell
July 9, 2012 at 11:02 am
you replaced "D" with a space.
repalce with an empty string instead:
select LTRIM(REPLACE(A_H, 'D', '')) from tableA
Lowell
July 9, 2012 at 8:18 am
if you search the forums here, there is a function "dbo.StripnonNumeric" that could help as well;
Lowell
July 9, 2012 at 7:08 am
also take a look at the two articles here on SQL Server Central;
they list a lot of free tools, some of which are related to monitoring:
Lowell
July 9, 2012 at 6:13 am
julien.dutel (7/6/2012)
Lowell
July 6, 2012 at 1:27 pm
this will generate the statements so you can copy and paste them with just a little bit of cleanup:
SELECT
'SELECT Signal_Index, Sample_TDate_' + convert(varchar,N) + ', Sample_Value_' + convert(varchar,N) + '...
Lowell
July 6, 2012 at 1:09 pm
by default, a linked server will only show the objects available in the DEFAULT DATABASE of the loginthat is connecting;
That's important, because if you have a login 'bob' that has...
Lowell
July 6, 2012 at 11:18 am
to get just the existing procs, you want to use the sys tables to help generate the commands you need:
SELECT
'GRANT ALTER ON ' + schema_name(schema_id) + '.' + quotename(name)...
Lowell
July 6, 2012 at 11:12 am
Kenneth.Fisher (7/6/2012)
Lowell
July 6, 2012 at 11:08 am
I purchased the SSMS Addin from The same company BrainDonor mentioned;
$50 bucks, and I went for the add-In vs the batch processing executable, as my coding is more...
Lowell
July 6, 2012 at 9:57 am
print your @tableHTML variable before you get to the sp_sendmail.
is it null, maybe due to concatination? that would make your html body blank for sure.
check your one parameter and three...
Lowell
July 6, 2012 at 8:52 am
this was an interesting article on setting custom file attributes;
http://blog.rodhowarth.com/2008/06/how-to-set-custom-attributes-file.html
i found it interesting that you can set attributes on non- MS Office files, and the attribute stays as long as...
Lowell
July 6, 2012 at 8:48 am
most likely permissions.
The problem is that when you access any resource OUTSIDE of SQL server, like network shares, local hard drives and folders,xp_cmdshell,bcp with a "trusted" connection, sp_OA type functions...
Lowell
July 6, 2012 at 5:24 am
soundex returns 0000 whenever a non A-Z,a-z character occurs: so commas hypens, numbers or the quote all give you misleading data.
personally, i had always stripped out the values fromt...
Lowell
July 5, 2012 at 1:06 pm
another longshot: if CDC is enabled for your table, you could get the values fromt hat:
--find any tables that are tracked via Change Data Capture
SELECT
name...
Lowell
July 5, 2012 at 10:37 am
Viewing 15 posts - 5,236 through 5,250 (of 13,460 total)