Viewing 15 posts - 10,846 through 10,860 (of 15,381 total)
opc.three (9/4/2012)
SELECT YourColumnName as [processing-instruction(x)]
FROM YourSchemaName.YourTableName
FOR XML PATH('');
Then click the link to see the entire...
September 4, 2012 at 3:13 pm
ariel_mlk (9/4/2012)
I'm tunning a database and i've stumbled by some hierarchy queries, on the good old form of ID, ParentID, to work out the hierarchy the previous developers...
September 4, 2012 at 2:38 pm
I did however find a bug in my code. You should change the final query to be this.
select *
from cteAgg
join tally on tally.N >= cteAgg.MinItem and tally.N <= cteAgg.MaxItem
I...
September 4, 2012 at 1:38 pm
bindish (9/4/2012)
I also change datatype to text and check the size. It still shows me 43600 characters in SSMS.
I am not sure how else I can say this....SSMS does NOT...
September 4, 2012 at 1:03 pm
Kumar SQL (9/4/2012)
Thanks a lot for your reply!Getting error at "dbo.DelimitedSplit8K" and may i know what is Item in your query. I am new to these concepts.
Can you please eloborate...
Thanks!
Kumar
No...
September 4, 2012 at 12:50 pm
bindish (9/4/2012)
I am checking in SSMS . In ch it shows 43600 characters.
That is why you can't see all the data. There is an option to increase this but still...
September 4, 2012 at 12:49 pm
Lynn Pettis (9/4/2012)
Sean Lange (9/4/2012)
sivajii (9/4/2012)
http://www.sqlservercentral.com/articles/Indexing/68439/
here i didn't understand
if there is an simple example means i can i understand easily
select * from sys.indexes
select *...
September 4, 2012 at 12:24 pm
bindish (9/4/2012)
Yes data is there but its only 43600 characters. But the total size is 115000 characters.
So how do you know there is only 43,600 characters? Are you looking at...
September 4, 2012 at 12:20 pm
sivajii (9/4/2012)
http://www.sqlservercentral.com/articles/Indexing/68439/
here i didn't understand
if there is an simple example means i can i understand easily
select * from sys.indexes
select * from sys.index_columns
...
September 4, 2012 at 12:09 pm
bindish (9/4/2012)
I have one table with one field called "vLargeData varchar(max)" datatype. I am inserting data into table and that data size is 115000. After inserting when I am checking...
September 4, 2012 at 12:00 pm
Nice job posting ddl and sample data. The description was a little confusing but after a few reads I think I understood it.
This can be accomplished using a combination of...
September 4, 2012 at 11:11 am
PiMané (9/4/2012)
I'm analyzing an existing app from a client that uses a lot a SP that has inserts on a temporary table to process the data.
Are temporary tables better than...
September 4, 2012 at 10:53 am
You could just add some simple datepart logic.
declare @RunDate datetime
set @RunDate = '8/31/2012' --this would be getdate() in your code
select MONTH(@RunDate), MONTH(@RunDate + 1)
Then don't run your code when they...
September 4, 2012 at 10:45 am
Lynn Pettis (9/4/2012)
Sean Lange (9/4/2012)
September 4, 2012 at 9:00 am
the original store proc it which i mentioned there was working but it take more than 10 minutes to execute
That is because your where clause is not sargable. That...
September 4, 2012 at 8:58 am
Viewing 15 posts - 10,846 through 10,860 (of 15,381 total)