Viewing 15 posts - 136 through 150 (of 532 total)
Ricardumus (8/5/2010)
I just didn't understand the CTE (N). Not sure what that is. 🙂
Here is a link to a pretty good primer article about CTEs and what they can be...
August 5, 2010 at 12:49 pm
Praveen Goud Kotha (8/5/2010)
Hi..Any one can optimize(physically/logically) my code..
if possible please post the re-written code..
If you don't want to do any work I would suggest you hire a consultant.
You haven't...
August 5, 2010 at 11:11 am
Just to make sure you understand ... if you are getting a value from an XML column in a SQL Server table, your application is going to need to handle...
August 4, 2010 at 7:16 pm
If you provide data in the correct format (see the link in my signature) I could show you how to write the query to do that, but based on how...
August 4, 2010 at 7:05 pm
It's still not exactly clear what you want (and you didn't follow the instruction in the link in my signature.) I don't see what the "Choice" has to do...
August 4, 2010 at 4:02 pm
An "XML File" does not equal a "SQL table" so I'm not sure what you mean. Your application can retrieve a list of values from a SQL Server and...
August 4, 2010 at 2:44 pm
Alvin Ramard (8/4/2010)
Decade, century,...
August 4, 2010 at 1:45 pm
It's much easier to help you if you provide table definitions, sample data and expected output. See the link in my signature below.
August 4, 2010 at 12:57 pm
changbluesky (8/3/2010)
select LEN('ESPRINET IBÉRICA S.L.U.')
the result : 23
But actually,the length of the string is 24...
August 4, 2010 at 11:56 am
Nevyn (8/3/2010)
Actually on closer inspection Im not sure this needs much fancy consecutive counting
In the very first post the OP said
First Scenario, BAN = 1, here there is no Change...
August 4, 2010 at 11:14 am
You're not entirely clear about what you're wanting to be dynamic, but if you want to set tables that you're going to query or columns you're going to return based...
August 3, 2010 at 4:49 pm
Take a look at this article[/url] (or many others out there) that describe how to use FOR XML PATH to concatenate values in a single column.
August 3, 2010 at 4:45 pm
This is slow but it works ...
select sasm.*
from sys.all_sql_modules sasm
JOIN sys.objects so
ON so.object_id = sasm.object_id
where (replace(sasm.definition, ' ', '') like '%exec(%'
or replace(sasm.definition, ' ', '') like '%execute(%')
and so.is_ms_shipped = 0
August 3, 2010 at 4:41 pm
pommguest4 (8/3/2010)
August 3, 2010 at 4:16 pm
Ron,
I was thinking about this method too, but if the issue is on the app side it's quite possible that either the parameters' datatypes cannot be changed (because they're set...
August 2, 2010 at 3:40 pm
Viewing 15 posts - 136 through 150 (of 532 total)