Viewing 15 posts - 166 through 180 (of 369 total)
I agree with Gail.
Since the XML is stored as a single column it is treated just like any other column in the database. Therefore, you will have a row...
January 9, 2009 at 7:57 am
First off, see the following articles and read up on the XML support:
http://msdn.microsoft.com/en-us/library/ms345118(SQL.90).aspx
http://msdn.microsoft.com/en-us/library/ms345115(SQL.90).aspx
http://msdn.microsoft.com/en-us/library/ms345117.aspx
Per the articles referenced above, you can store the XML in any of the following data types. ...
January 9, 2009 at 7:40 am
Kiran (12/30/2008)
Could you provide any, best URLs/Tutorials/examples on Full Text Search component and how to write queries using it for the beginners.
See Hilary Cotter's articles at: http://www.simple-talk.com/sql/learn-sql-server/sql-server-full-text-search-language-features/
December 30, 2008 at 7:03 am
Jeff Moden (12/24/2008)
December 24, 2008 at 11:39 am
Jeff Moden (12/23/2008)
Yep... "pseudo-cursor"... just like you had...
Thanks, Jeff for taking the time to look at the problem.
The solution implemented (pseudo-cursor) is working quite well in our application. But...
December 24, 2008 at 7:23 am
Matt Miller (12/23/2008)
select * from MyTable
where MyID=1234
for XML path('testing'), TYPE
Not sure why that didn't make the...
December 23, 2008 at 2:26 pm
Steve Jones - Editor (12/23/2008)
I heard name is a reserved MDX word (http://msdn.microsoft.com/en-us/library/ms145629.aspx), and "Type" is used in permission statements (GRANT) - http://msdn.microsoft.com/en-us/library/ms174346.aspx
Which is my earlier point. It is...
December 23, 2008 at 1:19 pm
Now if Microsoft was really smart they would highlight the true SQL reserved words, as noted in http://technet.microsoft.com/en-us/library/ms189822(SQL.90).aspx for SQL Server 2005, in a totally different color. Let's say...
December 23, 2008 at 11:11 am
So even though colid means something special to the system, that one is not even flagged.
You stated that one shouldn't use "colid" as it is a reserved keyword. By...
December 23, 2008 at 10:56 am
J (12/23/2008)
Wut ??
Highlighting keywords is a valuable assistance provided by the system. A typo in a keyword or failing to...
December 23, 2008 at 10:34 am
MrsPost (12/23/2008)
Enclose them in square brackets and SQL syntax won't format them blue.
Or...
1. Just ignore the coloring
2. Change the coloring to be all the same color. Under Tools /...
December 23, 2008 at 9:00 am
RBarryYoung (12/23/2008)
JohnG; Actually, we've been talking about the BIT datatype. I think that you are talking about bit-masks encoded into INT's.
Exactly.
I will add that the use of SIGN needs...
December 23, 2008 at 8:31 am
Jeff Moden (12/22/2008)
Here's a real cheater method...
SELECT SIGN(SUM(Col1+0)), SIGN(SUM(Col2+0)), SIGN(SUM(Col3+0))
FROM SomeTable
That only works for the first bit. I have a similar problem where we...
December 23, 2008 at 8:13 am
GilaMonster (12/22/2008)
They are SQL reserved words. Hence management studio highlights them as such.
Not exactly. Since when is UID a reserved word? Search for UID in BOL and see...
December 23, 2008 at 7:19 am
Viewing 15 posts - 166 through 180 (of 369 total)