Viewing 15 posts - 7,936 through 7,950 (of 8,753 total)
Trick question as there was no trick in the question:-D
Thanks Andy!
😎
June 21, 2014 at 9:37 am
For fun:-D, here is a full shredding code
😎
DECLARE @XORDER XML = N'<?xml version="1.0" encoding="utf-16"?>
<order>
<Product Index="e1e2c499-f9...etc...." ProductID="12">
<Attribute Name="Paper...etc..." />
<Attribute Name="Ink..etc.." />
...
June 21, 2014 at 8:56 am
If the data sample is accurate, this can be simplified by using XML and XQuery
😎
DECLARE @String nvarchar(500) = N''
SET @String = N'
Assessed By: Michael Jordan Yagnesh
Reviewed By: Fred Smith
Home Address'
DECLARE...
June 21, 2014 at 8:15 am
Now we have the full question, here is the answer.:-D
Your query is missing the FROM part.
😎
--my table payment_details structure is
DECLARE @payment_details TABLE
(
payment_id ...
June 21, 2014 at 7:27 am
neethu payal (6/21/2014)
payment_id payment_code
1 null
2 ...
June 21, 2014 at 7:18 am
pk2dpvp (6/19/2014)
I found loads of things but nothing seems to work...
I'm trying to get a link with XML data inside the page into a table but...
June 21, 2014 at 6:53 am
brad.mason5 (6/20/2014)
June 21, 2014 at 5:41 am
Here is a quick solution using a CALENDAR CTE
😎
USE tempdb;
GO
;WITH SampleData (PERSON,[HOURS],[RATE],[CODEID],[DOW],[DATE]) AS
(
SELECT 1234,7.00,40.00,01,'Thursday','05/01/2014'
UNION ALL SELECT 1234,8.0,40.0,01,'Friday','05/02/2014'
UNION ALL...
June 21, 2014 at 4:03 am
N_Muller (6/20/2014)
June 21, 2014 at 2:48 am
ykonline (6/20/2014)
I want to insert data periodically from an excel file into a table using a SSIS. But each time the no. of columns in excel may vary.
Suppose, the...
June 20, 2014 at 11:46 pm
Take a look at this article, How to Return Running Product Totals.
I think the method I used earlier has already been posted on this thread, it is the same as...
June 20, 2014 at 11:38 pm
Bear with me here but is this the result you are after?
😎
MyLongDesiredRunningTotalSequenceWK NOACCOMPUSD_AMOUNTSOA_TYPE
100.00191620112003100.00Agent
300.002101620412003200.00Freight
450.003111620712003150.00Agent
700.005121620812003250.00Costs
1100.006131622412003400.00Cost
1600.007141629512003500.00Freight
2140.008151629512003540.00Cost
June 20, 2014 at 12:12 pm
pwalter83 (6/20/2014)
I am trying to calculate running total in sql as its not giving me the desired result on SSRS (on the fly calculation).
I tried using the following code but...
June 20, 2014 at 4:48 am
AndrewSQLDBA (6/19/2014)
I hope that you are having a very nice day. To some, it is already friday, the weekend is closer for you.
I am selecting data from a View...
June 20, 2014 at 3:23 am
Viewing 15 posts - 7,936 through 7,950 (of 8,753 total)