Viewing 15 posts - 7,036 through 7,050 (of 8,754 total)
Quick thought, when the IS is not working, try pressing CTRL+SHIFT+R to refresh the cache, also check the Tools-Options-Text Editor-Transact SQL-IntelliSense memory settings, might want to increase that.
😎
September 17, 2014 at 12:41 pm
Luis Cazares (9/17/2014)
Do I see some personal/professional growth in these words? I really hope so.This Post is closed. I will research the issue.
Thanks.
This is interesting, I wonder if we could...
September 17, 2014 at 12:21 pm
This code returns the node structure of the XML
😎
USE tempdb;
GO
SET NOCOUNT ON;
DECLARE @TXML XML = N'<EssRoot>
<T.6.03.0>
<eventTS>2014-09-10T23:51:53.0Z</eventTS>
<equipment unitAddress="105328605" equipType="tractor" alias="0105328605" ID="0105328605" />
<position lat="42.76819444444445" lon="-78.59981481481482" posTS="2014-09-10T23:51:48.0Z" />
<posType>1</posType>
<ignitionStatus>1</ignitionStatus>
<tripStatus>O</tripStatus>
<ltdDistance>0.0</ltdDistance>
<speed>0</speed>
<heading>0</heading>
<workflowEventType>loadAtTerminal</workflowEventType>
<data id="X_XMM_FILTERED">
<datum name="sortId" value="100" />
<datum name="destSortId"...
September 17, 2014 at 3:22 am
ScottPletcher (9/16/2014)
SELECT
value AS original_value,
SUBSTRING(value, 1, CHARINDEX('.', value) + 1) + '%' AS new_value
FROM (
...
September 16, 2014 at 10:41 pm
g_rose42 (9/14/2014)
Even though if i convert into row by...
September 16, 2014 at 10:24 pm
Here is a quick exsample of node shredding based on your XML sample, if the structure of the XML is not changing then this could be the right direction.
😎
USE tempdb;
GO
SET...
September 16, 2014 at 10:14 pm
Quick solution (if I got this right, only on the first coffee in the morning:-) ), using another Tally table to generate the missing numbers.
😎
USE tempdb;
GO
SET NOCOUNT ON;
DECLARE @SerialNumber VARCHAR(1024)...
September 16, 2014 at 10:04 pm
rob.delong (9/15/2014)
September 16, 2014 at 9:32 pm
cstg85 (9/16/2014)
September 16, 2014 at 2:16 pm
Quick thought, if no auditing is in place, start with the short list Gail mentioned.
😎
September 16, 2014 at 10:51 am
andyscott (9/16/2014)
September 16, 2014 at 10:47 am
abhas (9/16/2014)
I need to compare the next row with the previous row of same table and produce nonidentical column.
for eg... say
mytable has
Row 1 => 1001 Abhas 120 150...
September 16, 2014 at 8:14 am
Smash125 (9/16/2014)
34.100->34%
39.8->40
35.4->35 some thing like that. please le me...
September 16, 2014 at 4:55 am
Quick thought, this can be simplified with the charindex function, no need to actually split the input. The focus must be on what has to be done, not how;-)
😎
DECLARE @reportID...
September 15, 2014 at 10:59 pm
Jeff Moden (9/15/2014)
Eirikur Eiriksson (9/13/2014)
Jeff Moden (9/12/2014)
September 15, 2014 at 10:51 pm
Viewing 15 posts - 7,036 through 7,050 (of 8,754 total)