Viewing 15 posts - 31 through 45 (of 381 total)
jacksonandrew321 (10/11/2014)
I wrote query to update id int(1,1) to some value but its not giving me the result. Is it not possible to update id on the table. Please...
October 11, 2014 at 4:02 am
I'm not sure what you mean by "always the same." There are things that you can't do with Raw that you can with Path.
IF OBJECT_ID('XMLForHomework') IS NOT NULL DROP...
May 25, 2014 at 9:51 am
Great article. So far I have only had one employer mention reading my blog, which is still a little light, but is still a better representation of me than...
April 22, 2014 at 4:49 am
You can use the where or put the query into your XQuery (I don't know which is more efficient):
DECLARE @X XML;
DECLARE @CategoryID int = 9;
SET @X = '<root>...
April 8, 2014 at 4:44 am
SET @X = '<root>
<production.Categories categoryid="1" categoryname="Beverages" description="Soft drinks, coffees, teas, beers, and ales" />
<production.Categories categoryid="2" categoryname="Condiments" description="Sweet and savory sauces, relishes, spreads, and seasonings" />
...
April 7, 2014 at 6:29 am
I prefer to use Row_Number().
with cte as
(Select *
, row_number() over (Partition by [Doc#] order by Version Desc, [Occurrence #] Desc)
as RowNum from...
March 28, 2014 at 5:20 am
Uncheck the impersonate checkbox. I have never checked that and it works.
March 24, 2014 at 5:54 am
Select DueDate
, case when DateDiff(day, Current_timestamp, DueDate) >= 45
then 'YES' else NULL end as [45 Days Expectant]
, case when DateDiff(day, Current_timestamp, DueDate) <= -30
...
March 18, 2014 at 2:31 am
Which of the stairway articles are you looking at? In the second one, he is connecting to the Person.Contact table not the Person.Person table.
March 16, 2014 at 5:59 am
rho_pooka (2/19/2014)
February 20, 2014 at 6:45 am
When you say, "not working" what do you mean? Do you get an error? Do you get unexpected results? If unexpected results, what are the values that...
February 19, 2014 at 2:17 pm
imba215 (2/17/2014)
I have two tables with this info:
TABLE 1
COL1 COL2 COL3
AAA BBB CCC
QQQ WWW EEE
AAA SSS DDD
WWW EEE RRR
BBB BBB BBB
TABLE 2
COL1 COL2 COL3 COL4
b b b 343
a a a...
February 17, 2014 at 9:42 am
complexType can have sequence as a sub-element. http://www.w3schools.com/schema/el_complextype.asp
February 16, 2014 at 5:19 am
xs:complexContent cannot have xs:sequence as a child. You can have xs:extension or maybe xs:restriction which in turn can have xs:sequence as its child.
http://msdn.microsoft.com/en-us/library/ms256053(v=vs.110).aspx
February 14, 2014 at 6:45 pm
One correction (I'm getting used to user interface). You need to order by RankID:
WITH cteUsersAndSoftware(UserName, Software)
AS
(
SELECT DISTINCT s.User_Domain0 + '\' + s.User_Name0 AS 'UserName',
(CASE
WHEN p.DisplayName0 LIKE 'Microsoft Visual Studio%...
February 12, 2014 at 9:09 am
Viewing 15 posts - 31 through 45 (of 381 total)