Viewing 15 posts - 91 through 105 (of 1,132 total)
If a decimal point or commas are allowed, add the negation for these values
"All numbers" is logically equivalent to a double negative of "NOT ( any non-numbers )", so just...
March 10, 2010 at 11:28 am
"All numbers" is logically equivalent to a double negative of "NOT ( any non-numbers )", so just use
Column NOT LIKE '%[^0-9]%' -- the caret ( ^ ) means NOT...
March 10, 2010 at 11:27 am
The schema uses the design pattern named "Adjacency List" and needs to be converted with a recursive CTE to a "Path Enumeration" pattern before converting to XML.
With IndustryCodes_Path
([IndustryCode],[IdIndustry], LevelCnt, [IndustryName],...
March 10, 2010 at 8:27 am
There is no easy way and you will need to generate script for drops and create of primary key, unique and foreign keys:
ALTER TABLE [<owner_name>].[<table name>] drop <foreign key constraint...
March 10, 2010 at 8:00 am
My day to day is administering the servers, looking after security, tuning queries, releases, security changes, putting new jobs in place, maintenance, replication upkeep and so on and so forth....
March 9, 2010 at 6:05 pm
The SQL Server Customer Advisory Team has a white paper "Using Replication for High Availability and Disaster Recovery in SQL Server 2008." at http://sqlcat.com/whitepapers/archive/2009/09/23/using-replication-for-high-availability-and-disaster-recovery.aspx
On page 39, you can see that...
March 9, 2010 at 5:37 pm
Have you checked the transaction log for a large number of Virtual Log Files by running dbcc loginfo() ? A large number of VLFs will cause slow SQL Server...
March 9, 2010 at 7:57 am
Big warning !! Discover this when someone setup a "shrink tempdb" job and errors would then occur.
If you run DBCC SHRINKDATABASE, no other activity can be occurring within the...
March 9, 2010 at 7:49 am
Found a long info knowledge based article titled "How to reduce paging of buffer pool memory in the 64-bit version of SQL Server" that appears to apply. http://support.microsoft.com/kb/918483
The article has...
March 9, 2010 at 7:39 am
In order to do this efficiently, we would want to use the Cluster name/SQL Instance name as we will never know which SQL Instance/server is up and active if we...
March 9, 2010 at 7:27 am
"The columns in "tbl_faculty" do not match an existing primary key or UNIQUE constraint"
The error message with SQL Server 2008 is a little clearer :
Msg 1776, Level 16, State 0,...
March 9, 2010 at 6:54 am
regarding SQL Server Memory Usage on a 64-Bit Platform, I have had the same experience as Jeffrey and
Lynn. For reference:
The 64-bit platform allows SQL Server to use much...
March 8, 2010 at 4:09 pm
Please also check this blog about SQL Server being paged out due to the file system cache size and how to trim.
"A significant part of sql server process memory has...
March 8, 2010 at 4:00 pm
What does perfmon show for "PagingFile:%Usage" ?
What are the SQL Server memory settings ? You can get the setting by running:
exec sp_configure 'min server memory (MB)'
exec sp_configure 'max...
March 8, 2010 at 9:22 am
Try this :
SELECT A_typemaintest.symbol
, A_typemaintest.mftp_type
, A_typemaintest.RowNumber
...
March 5, 2010 at 5:24 pm
Viewing 15 posts - 91 through 105 (of 1,132 total)