Viewing 15 posts - 691 through 705 (of 7,164 total)
briankwartler (5/5/2015)
Declaring a "FLOAT" without providing the number of bits to use, e.g. FLOAT(n), results in the default FLOAT(54) which is...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
May 5, 2015 at 5:39 am
For those finding this post through a search engine, like I did...
A single-precision floating point number is represented as the REAL data type which can also be declared as FLOAT(24).
A...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
April 26, 2015 at 6:10 am
Thanks for the detailed write-up.
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
April 23, 2015 at 7:56 am
Issue 1: you are setting the value of @tableHTML before you set @tableHTML1 and @tableHTML2. Hopeflly that happened when you tried to prepare the code for posting on this forum.
Issue...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
April 23, 2015 at 5:20 am
This is not about canceling a query, it's about control flow. Try out the TRY...CATCH construct and use THROW to change how your procedure flows:
BEGIN TRY
DECLARE @MaxLoadDate AS DATE =...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
April 23, 2015 at 5:05 am
+1 to the idea of removing Access from the equation if possible and having the data provider write to SQL Server. If that is not possible then look into converting...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
April 22, 2015 at 9:25 pm
ScottPletcher (4/22/2015)
Orlando Colamatteo (4/22/2015)
ScottPletcher (4/22/2015)
Orlando Colamatteo (4/22/2015)
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
April 22, 2015 at 9:17 pm
ScottPletcher (4/22/2015)
Orlando Colamatteo (4/22/2015)
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
April 22, 2015 at 2:04 pm
I'll second the point: definitely store your dates and times in a column of type DATETIME. If you make that a non-negotiable starting point the rest of this will be...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
April 22, 2015 at 7:08 am
matthew.hudsonbryan (4/22/2015)
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
April 22, 2015 at 6:39 am
Personally I like the "concatenated aggregate" method sqlservercentral 46394 showed however Erland pointed out some problems with it if you mess with the ORDER BY in specific ways, e.g. adding...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
March 31, 2015 at 7:18 am
brian.miller 15246 (3/30/2015)
The modified script below...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
March 31, 2015 at 7:08 am
Tom Bakerman (3/30/2015)
I typically do this to get a comma separated list:
SELECT STUFF((SELECT ',' + name AS [data()]
FROM sys.columns
WHERE OBJECT_NAME(object_id) = @TableName
ORDER BY...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
March 31, 2015 at 7:04 am
PS regarding your question about best practices I was not sure if you meant tools or strategy so focused on toos in my last post since you mentioned Maintenance Plans...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
March 28, 2015 at 10:59 am
Go to http://ola.hallengren.com and check out his solution for backing up your databases and logs. I've been using it for years and it has saved me countless hours. It even...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
March 28, 2015 at 10:50 am
Viewing 15 posts - 691 through 705 (of 7,164 total)