Viewing 15 posts - 361 through 375 (of 549 total)
See if this works
although I don't see the point of LowerCase 1 XML element (either do it in front-end), or might as well LowerCase the entire XML
UPDATE TABLE
SET XMLcolumn.modify(
'replace value...
October 30, 2008 at 8:02 am
There are a lot of scripts out there that kinda does this, might benefit from them (although they seem to work for SQL 2005 and above, not 200)
http://sqlcommunity.com/Default.aspx?tabid=275&id=288
Usually involves sys.dm_db_index_physical_stats...
October 30, 2008 at 7:49 am
what's the result of this code?
is it NULL or NOT NULL?
select object_id('[dbo].[SEEKER_DATA_PLUS_OPTOUT]')
does manually dropping the table (without the if condition) works?
DROP TABLE [DBO].[SEEKER_DATA_PLUS_OPTOUT]
If it's permission-related, I am certain you'll receive...
October 30, 2008 at 7:41 am
Did you copy your or someone's post word to word?
Anyway, a lot of solutions in there already
Focus on the "scope", or just put ROWNUMBER in the group detail row
http://www.kodyaz.com/articles/article.aspx?articleid=52
http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/SQL-Server-2005/Q_23440459.html
SQL2005 Reporting...
October 30, 2008 at 7:37 am
GROUP BY?
in SQL 2005 and above, ROW_NUMBER can be used as well
SELECT
EmpNo
,EmpFName
,EmpLName
,Dept
,Section
,Duplicate = COUNT(1)
FROM Employee
HAVING COUNT(1) > 1 -- to only show duplicates. Comment this out will...
October 29, 2008 at 2:00 pm
A case of not to rely on Query Hints all the time
by removing the (NOEXPAND), I think the engine decides to go to the tables directly
http://www.realworldsql.com/post/2008/01/NOEXPAND-query-hint-for-an-indexed-view.aspx
If you have an indexed...
October 29, 2008 at 1:57 pm
The more the better (and more $$ too)
For SQL Server 2005 minimum requirements
http://www.microsoft.com/Sqlserver/2005/en/us/system-requirements.aspx
October 29, 2008 at 1:53 pm
I suppose it's just a choice by Microsoft, which I am okay with
If you want to enforce valid XML, either throw in a tag or add a schema (CREATE XML...
October 29, 2008 at 11:56 am
Books Online is one of my favorites (online or local), I personally don't think there's any harm in it
It is unfortunate SSMS doesn't have great IntelliSense (even in SSMS 2008),...
October 29, 2008 at 8:11 am
I would think Microsoft would certify Microsoft SQL Server 2005 on Windows 2008
but I recalled reading that SQL 2008 actually perform betters on Windows 2008 (not surprisingly)
White Paper: Running SQL...
October 29, 2008 at 7:44 am
Google may return a lot of results for what you want
To check disk space, you can run
EXEC master.dbo.xp_fixeddrives
Results
driveMB free
C121539
October 29, 2008 at 7:34 am
You can use YEAR(datefield) and MONTH(datefield) such as
SELECT id FROM transactions WHERE YEAR(trandate) = 2008 AND MONTH(trandate) BETWEEN 1 AND 3
YEAR is just DATEPART(year, ___), MONTH is DATEPART(month,...
October 29, 2008 at 7:28 am
I can't think of an easy way (like SSRS 2008 Tablix)
because the SSRS 2005 really gives you only horizontal grouping (say Country, Salesperson, Date)
I am curious to know a solution...
October 28, 2008 at 11:56 am
This should do the trick
"My Parameter: " + Parameters!MyParam.Value
October 28, 2008 at 8:11 am
I had this issue too, trying to find where I found the solution 🙁
Disaster Recovery: What to do when the SA account password is lost in SQL Server 2005
October 28, 2008 at 8:09 am
Viewing 15 posts - 361 through 375 (of 549 total)