Viewing 15 posts - 151 through 165 (of 369 total)
Using the sample data posted, here is a simple query extracting out the values of the GName and FamName elements.
The sample code shows how namespaces are used in the XQuery....
March 30, 2009 at 9:24 am
Your XML nodes are qualified by namespaces. Therefore, you must specify the namespaces as part of your XQuery.
See Jacob Sebastian's article (one of a series on XML) here:
http://www.sqlservercentral.com/articles/XML/61333/
You can...
March 30, 2009 at 7:19 am
brd123 (3/26/2009)
March 26, 2009 at 12:22 pm
1. Read the BOL as it describes the basic of full-text, architecture, etc.
2. See Hilary Cotter's nice articles at http://www.simple-talk.com/sql/learn-sql-server/sql-server-full-text-search-language-features/
3. Use MSDN for additional research. See: http://msdn.microsoft.com/en-us/library/ms345119.aspx
4. Search the...
March 26, 2009 at 9:48 am
Sorry, it is not supported. Even if the view is a 1:1 match on the table (i.e., no joins) it does not work. The problem is due to...
March 26, 2009 at 9:40 am
Andrew Watson (3/20/2009)
I do have the 2008 BOL on my desktop. CREATE INDEX is OK, but it's wrong in the "Implementing Indexes" section of "Designing and Implementing Structured Storage".
Likewise....
March 20, 2009 at 12:30 pm
See: Jacob Sebastian's Sales Order Workshop Part IV
http://www.sqlservercentral.com/articles/Stored+Procedures/2912/
BTW, Don't use OPENXML. Use XQuery
March 19, 2009 at 2:58 pm
The magic trick is to shred it into one big flattened table using the CROSS APPLY operator.
For example (code snippit):
SELECT
x1.stage.value('@ID', 'uniqueidentifier'),
x2.activity.value('@ID', 'uniqueidentifier'),
...
March 19, 2009 at 1:48 pm
It depends.
It prevents multiple round trips to the database server, particularly if the multiple result sets are related. For example, if the logic requires a complex lookup to get...
March 19, 2009 at 1:29 pm
You can query the page size propeties via code and you don't have to parse the XML. See the following link which contains a VB.Net RS script:
Converted to C#
ReportService2005.Property[]...
February 20, 2009 at 8:48 am
I understand the requirement as I have a similar situation. I.e., we are a SaaS company and we have numerous customer databases that are all the same. So...
February 20, 2009 at 8:00 am
I had similar problems with Linked Reports. There is no property of "portrait" or "landscape". Everything is done by page size. See the following links to set...
February 20, 2009 at 7:41 am
Yes, you can create hierarchical nested XML (e.g., Master / detail) with elements and attributes with SQL Server 2005. The trick is to use sub-selects where you want the...
January 28, 2009 at 9:47 am
Viewing 15 posts - 151 through 165 (of 369 total)