Forum Replies Created

Viewing 15 posts - 7,741 through 7,755 (of 8,760 total)

  • RE: Update XML Column

    GBeezy (7/25/2014)


    I actually got it to work...

    I took just the UPDATE statement you provided, took out the variables, input what I needed, and I was able to update my column...

  • RE: Tuning a query that takes 60 minutes to run,

    Quick question, can you post the execution plans?

    😎

  • RE: Need help with basic spatial query

    Quick suggestion using mickyT's data, mind you, as I posted before, that this is not accurate when using geometry.

    😎

    SELECT

    *

    FROM dbo.Location L

    OUTER APPLY #Events E

    WHERE L.coordinates.STBuffer(10000).STIntersects(E.coordinates) =...

  • RE: Update XML Column

    Here is a quick solution, should get you passed this hurdle.

    😎

    USE tempdb;

    GO

    DECLARE @XML_ID INT;

    DECLARE @FILE_NAME VARCHAR(255);

    SET @XML_ID = 2;

    SET @FILE_NAME = 'text_file.txt';

    DECLARE @TXML XML ;

    DECLARE @XML_TABLE TABLE (XML_ID INT IDENTITY(1,1)...

  • RE: Setting a column to the same value for each associated group of rows in a table

    Not certain what the purpose of the RANK is there as it is not needed in the solution. Also, writing the code took a lot less time than formatting the...

  • RE: Some problem about install SQL

    vobinh2401 (7/24/2014)


    Hi there, I have installed SQL. But i can't see SQL Server Surface Area Configuration. Please help me !!

    It was removed after SQL Server 2005, this article might help

    Where...

  • RE: SQL Pivot?

    Quick and simple

    😎

    USE tempdb;

    GO

    /* LETS PRETEND THIS IS THE TABLE */

    ;WITH BASE_DATA AS

    (

    SELECT

    ItemId

    ...

  • RE: Unable to get Value from XML

    Slightly different flavour of the same

    😎

    DECLARE @TXML XML = '<?xml version="1.0" encoding="utf-8"?>

    <DataSet xmlns="http://tempuri.org/">

    <xs:schema id="NewDataSet" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">

    <xs:element name="NewDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true">

    <xs:complexType>

    <xs:choice minOccurs="0" maxOccurs="unbounded">

    <xs:element name="Table">

    <xs:complexType>

    <xs:sequence>

    <xs:element name="KeyID" type="xs:string" minOccurs="0" />

    <xs:element name="LicenseAcquisitionUrl" type="xs:string" minOccurs="0"...

  • RE: A IT Consultant for our Times

    JustMarie (7/24/2014)


    I wonder what kind of CV he's shopping to get jobs in the current Next Big Thing when his experience is all over the board.

    Guess he merits a Master...

  • RE: Stairway to T-SQL: Beyond The Basics Level 9: Dynamic T-SQL Code

    Thanks Gregory for this nice peace, good job!

    Missed seeing one essential thing though in the injection part and that is a strong coupling to the metadata. If a user can...

  • RE: Stairway to T-SQL: Beyond The Basics Level 9: Dynamic T-SQL Code

    Robert.Sterbal (7/24/2014)


    Do the cursors in the example of looping dynamic sql act as an implicit go statement?

    Yes, unless it is wrapped in an explicit transaction.

    😎

  • RE: Data Decisions or Instinct?

    From a slightly humours point of view, often there is quite a resemblance to Chinese Whispers in Data Collection, Processing and Analysis processes, which in turn makes one at least...

  • RE: SSIS variables

    You can use a variable if you have an expression for the relevant property in the connection manager.

    😎

  • RE: SQL procedure Query Performance issue

    mallikachowdhary 98955 (7/24/2014)


    Hi ,

    I have a issue regarding a query showing very late response on one server while it works perfectly on another.

    I have a job defined in SQL server...

  • RE: Below Update statement is not working! any Idea why

    dkriplani97 (7/24/2014)


    create table #tmpcopylibrary

    (

    dataid int,

    value int

    )

    insert #tmpcopylibrary select 1,999

    UPDATE TableA

    SET Value = isnull((select top 1 Value from...

Viewing 15 posts - 7,741 through 7,755 (of 8,760 total)