Viewing 15 posts - 226 through 240 (of 532 total)
riajain9 (7/20/2010)
I cannot use this update as my data is very large more than 100000 and is always increasing...
I there any way to add it in the query as...
July 20, 2010 at 1:09 pm
Why don't you want to use a stored procedure?
July 20, 2010 at 12:59 pm
The frequency function in Excel looks to have the first interval be based on what is less than your first data value. In the case of your example, your...
July 20, 2010 at 12:44 pm
The Dixie Flatline (7/19/2010)
By "you", I assume that you're referring to SwedishOrr. The whole point of the code I wrote was to avoid hitting Table A twice.
Yes indeed...
July 19, 2010 at 4:04 pm
Maybe I'm missing something, but isn't your function returning XML? So wouldn't it be:
CREATE function fn_getXML(@url nvarchar(max))
returns XML AS
EXTERNAL NAME [XMLPuller].[XMLPuller.XmlFunctions].[getXML]
GO
(*edit: nevermind ... I looked at...
July 19, 2010 at 3:58 pm
The Dixie Flatline (7/19/2010)
SELECT COUNT(DISTINCT docid) -- docid is primary key of Table A
FROM [Table A] a
JOIN...
July 19, 2010 at 3:46 pm
Nevyn (7/19/2010)
July 19, 2010 at 3:41 pm
A lot of times this sort of thing is better done on the interface side.
However, if you need to do this via T-SQL, I would suggest you read this article[/url]...
July 19, 2010 at 3:34 pm
There are times I will use the GUI in a development environment but then use a tool to generate the T-SQL to make 100% sure I know exactly what the...
July 19, 2010 at 2:56 pm
There was a very big thread about splitting strings last year on this site.
I'll let you read through that because it covers a lot. Generally, however, the best performance...
July 19, 2010 at 2:52 pm
You should be using stored procedures anyway. Simply update the new column to GETDATE each time you do an insert/update.
July 19, 2010 at 2:43 pm
Your way will work, but it is not the most efficient (as you guessed.) I use to use subqueries in WHERE clauses just like you have done, but I've...
July 19, 2010 at 1:12 pm
If you want something more advanced you need to build the mechanism yourself. Generally you don't want to log everything, just specific data changes, so it's fairly easy to...
July 19, 2010 at 12:56 pm
It's hard to be sure of the difference without actually seeing T-SQL used to create the tables. If you used the GUI designer there shouldn't be an difference (that...
July 19, 2010 at 12:51 pm
See the link in my signature for information about how to post a question in such a way that people can and will help you.
July 19, 2010 at 12:42 pm
Viewing 15 posts - 226 through 240 (of 532 total)