Viewing 15 posts - 3,061 through 3,075 (of 5,504 total)
mirzafahad1409 (7/31/2010)
First i will post my probs in details.
I have a Excel file.With columns HB_ID,Firstname,LastName,Phone_Numbers,E-mails,Companies.(This is my "Source" File).
Now i have to create a Destination...
August 1, 2010 at 1:52 am
You would need a split string function.
Search this site for "DelimitedSplit8K" for a very fast T-SQL solution.
Or have a look at Florian's blog for a comparison of different solutions including...
August 1, 2010 at 1:43 am
Sounds like a consultant job to me. It would start with clarification of the requirement:
Either rotation is random (as requested) or rule-based (as described), why would I need the insert_ProductNew...
July 31, 2010 at 6:33 am
Hey Lynn, congrats to Kassondra!! West Point sounds better than the places you've mentioned a few thousand posts back... A LOT better!!
Kassondra, you and your whole family can be very,...
July 29, 2010 at 9:13 am
ron5 (7/29/2010)
do you by any chance know of some documentation on the various functions of sql Xml fields and how they are used.
for example , why...
July 29, 2010 at 3:03 am
What exactly is your expectation when using row versioning?
July 28, 2010 at 5:51 pm
Based on the assumption you'e looking for a way to get the rows into separate columns, please have a look at the CrossTab article referenced in my signature.
July 28, 2010 at 5:46 pm
How do you know which character needs to be considered as "special"?
E.g. space, ?, < or > might be considered valid or not...
Do you have a list of valid character...
July 28, 2010 at 5:42 pm
You would need to use dynamic SQL.
Something like:
DECLARE @sql VARCHAR(500)
-- Insert statements for procedure here
SET @sql=
'SELECT CASE_NO
INTO [' +@TableName + ']
FROM SEHC
WHERE FIP = ' + @pCountyFIP +'''
EXEC(@sql)
Side...
July 28, 2010 at 5:14 pm
You're welcome 😀
That's what you get when providing ready to use sample data, expected result and your current approach: a verified solution matching your requirement 😉
So, you did a great...
July 28, 2010 at 4:39 pm
You were close.
All that's missing is a WHERE clause:
SELECT
b.header.value('Value[1]', 'varchar(20)') AS Typex2
FROM @bb.nodes('//ProcessTraceNode') AS b(header)
WHERE b.header.value('Caption[1]', 'varchar(20)') ='SUBFORMULA'
July 27, 2010 at 5:47 pm
Please have a look at the CrossTab article referenced in my signature.
Based on that you should continue by reading the DynamicCrossTab article also referenced in my sig.
If you need a...
July 26, 2010 at 4:59 pm
What would be your expected result based on the sample data?
July 26, 2010 at 4:48 pm
What exactly do you want to extract?
A simple SELECT columns FROM table will give you the content of the table.
If you want to shred the XML data you should look...
July 26, 2010 at 4:45 pm
There's (at least) one thing you can't get by simply reading books: experience!
Even if it's not directly SQL Server related experience. Over the years I've learned to stay calm while...
July 26, 2010 at 4:42 pm
Viewing 15 posts - 3,061 through 3,075 (of 5,504 total)