Viewing 15 posts - 31 through 45 (of 49 total)
Vladimir.Moldovanenko@2020.net (8/28/2009)
check execution plan of the original query and this oneSELECT T.Item.value('Name[1]', 'VARCHAR(50)') Name,
T.Item.value('Salary[1]', 'INT') Salary
FROM @xml.nodes('/ROWS/ROW') AS T(Item)
Thanks for your post.
Yes...
August 30, 2009 at 10:26 pm
dewit.john (8/27/2009)
August 27, 2009 at 3:09 am
Max Minkov (8/25/2009)
INSERT
INTO [AddressBook]
([LastName], [FirstName],[Address])
SELECT
T.Item.query('./LastName').value('.', 'VARCHAR(25)') [LastName],
T.Item.query('./FirstName').value('.', 'VARCHAR(25)') [FirstName],
...
August 26, 2009 at 2:03 am
First of all thanks to every one for putting your valuable comment.
Jack Corbett (8/25/2009)
lafleurh (8/25/2009)
August 25, 2009 at 10:59 pm
balaji_92
August 25, 2009 at 10:29 pm
mohd.nizamuddin (8/18/2009)
I haven't tested for it that much records, but our application is working fine dealing with upto 400 - 500 records in an XML.
Will test for more records...
August 23, 2009 at 10:34 pm
conradr (8/19/2009)
August 19, 2009 at 2:56 am
aay (8/18/2009)
How can I use where clause ??
I am not confirmed that you are asking about puting the WHERE clause in SP.
WHERE T.Item.value('@Salary', 'INT') < 10
This will filter records whose...
August 19, 2009 at 2:50 am
First of all thanks for your valuable comment with different approach.
R.P.Rozema, sql :
Actually in my scenario we can access database only by SP. So we must not use any...
August 18, 2009 at 11:07 pm
Thanks Daniel,
Although, with SQL Server 2008 around, I am surprised that you did not mention the Table user defined type and the MERGE statement?
Actually this is based on SQL...
August 18, 2009 at 2:25 am
Hi Rajesh,
You should JOIN the tables instead of using SubQuery.
Moreover, you can try deleting rows in batch as below
SET ROWCOUNT somenumber -- this could be 100000 or any number...
July 28, 2009 at 12:10 am
Hi,
Instead of SubQuery, you should write query using JOIN.
Secondly, you may try to delete rows in batch of records like 10000 records and then commit. This will not take much...
July 27, 2009 at 11:47 pm
Ok,
Even I didn't see the code here at the forum in detail. Because I used to review the code in its specific IDE (VS IDE in this case). So, I...
June 24, 2009 at 12:07 am
Hi Sanjeet,
Could you please provide the definition of class "CLIENT_FIELDS", it would be easier to simulate your problem.
I think you are using SQL SERVER 2008.
Please suggest the ASP.NET version.
You said...
June 23, 2009 at 6:04 am
We are getting 20 working days leave + 12 holidays (not falling on weekend) + 6 Medical Leaves. What else we require.
Only job security.
March 6, 2009 at 5:08 am
Viewing 15 posts - 31 through 45 (of 49 total)