Viewing 15 posts - 31 through 45 (of 107 total)
The arrangement of the fields going to confuse me...we must have a fields in a series....some fields are coming from xml and some will come from country..really confused...the ID comes...
April 19, 2012 at 7:43 am
How it could be like this?
BEGIN
DECLARE @idoc int
EXEC sp_xml_preparedocument @idoc OUTPUT, @xml
INSERT INTO TESTCITY (
[CITY]
,[COUNTRYID]
,[Keywords]
,[DialCode]
,UserID
)
SELECT CITY,COUNTRYID=(select Id from Country where CountryName=CountryName),Keywords,DialCode, @userid
FROM OPENXML (@idoc,@chk , 1)
WITH ([CITY] [varchar](50)...
April 19, 2012 at 4:27 am
dwain.c (4/19/2012)
Now i want only one change....
as you can see that in @xml we have CITY which is NVARCHAR so i want to get ID of each in a table...like...
April 19, 2012 at 3:09 am
@dwain.c:
That work very Fine...Now i want only one change....
as you can see that in @xml we have CITY which is NVARCHAR so i want to get ID of each in...
April 19, 2012 at 1:43 am
anthony.green (2/29/2012)
Gianluca Sartori (2/29/2012)
GilaMonster (2/29/2012)
Gianluca Sartori (2/29/2012)
GilaMonster (2/29/2012)
Gianluca Sartori (2/29/2012)
SQL Server 2012 will be out in some days.
The marketing launch event is in a couple of days. Availability of the...
February 29, 2012 at 5:29 am
Should i wait to RTM(release to marketing) OR GA(General availability)?and how i will know that it is now available....i am a developer and i have its requirements
February 29, 2012 at 2:08 am
in which situation i should use BEGIN TRAN etc...or using COMMIT etc etci know all mentioned points..thanks for those
February 28, 2012 at 12:02 am
I am writing sqlserver queries from a long time....can you help me how to write insert/update and delete queries in a good and professional way?
February 27, 2012 at 10:54 pm
if you do not mind i want to elaborate a little bit more.....explain me
what are isolation levels and how they will be treated?
give me a complete example so...
February 23, 2012 at 2:26 am
But there is issue like when some one is updating middle record?for example max id is 10 but i want to edit id=5 then this query l not...
February 21, 2012 at 10:44 pm
TheSQLGuru (2/21/2012)
Engr Shafiq (2/20/2012)
Jeff Moden (11/30/2011)
February 21, 2012 at 6:09 am
Hi all,
as in this post i am converting my XLS file to xml and pass to store procedure ...till here it is working..i can save all xml data...now issue is...
February 20, 2012 at 12:38 am
Jeff Moden (11/30/2011)
February 20, 2012 at 12:25 am
Viewing 15 posts - 31 through 45 (of 107 total)