Viewing 15 posts - 1,276 through 1,290 (of 2,894 total)
Jeff Moden (9/6/2012)
UMG Developer (9/5/2012)
Adam Machanic (9/5/2012)
Generally when I...
September 6, 2012 at 7:36 am
...
My last suggestion is to make a function to clean up your queries. It will take a large amount of time but it will be more accurate.
1. REPLACE CHAR(13)+CHAR(10), CHAR(10)+CHAR(13)...
September 6, 2012 at 7:26 am
Just two samples without windowed functions:
1. Use of temporary storage for values to keep. It may play very well if you need to large set of data:
create table #demo(val nvarchar(20))
insert...
September 6, 2012 at 6:05 am
Do you really have a table with a single column? Or you have some ID there. Id so, you may be able to de-dupe without use of windowed function.
September 6, 2012 at 5:11 am
Shadab Shah (9/6/2012)
Hi,Recently i came across something like databaseid. I search for it on internet but could not come up with its practical used.
What do you call by "practical used"?
I...
September 6, 2012 at 5:04 am
Shadab Shah (9/5/2012)
Eugene Elutin (9/5/2012)
Again, I would advise to simply search for objects interested and then do manual review of code.Hi,
I think that would be next to impossible 🙂 .
No,...
September 6, 2012 at 4:59 am
I can not see any points of trying to search for a specific query which can be implemented in unlimited number of ways. Eg. comments, white spaces, multi-lines, different table...
September 5, 2012 at 12:56 pm
I have seen overhead with operations on NVARCHAR(MAX) on all types of CLR's eg. table-valued one. I think it is related to the way of memory reservation for MAX type....
September 5, 2012 at 12:50 pm
I took my function from this one: http://www.sqlservercentral.com/Forums/Topic1348575-338-1.aspx
CLR:
using System.Data;
using System.Data.SqlClient;
using System.Data.SqlTypes;
using Microsoft.SqlServer.Server;
using System.Text.RegularExpressions;
namespace CLRPlay
{
public partial class UserDefinedFunctions
{
...
September 5, 2012 at 10:04 am
Adam Machanic (9/5/2012)
Eugene Elutin (9/5/2012)
September 5, 2012 at 9:48 am
vinay.varaala (9/5/2012)
getdate()-- current date
my question I want the records from beginning of previous month to today ..wats...
September 5, 2012 at 9:37 am
What about if his query in SP is like that:
select *
from table1 -- some comment ...
September 5, 2012 at 9:33 am
I do not agree that there is any point in trying to optimize for smaller strings. Especially given the streaming solution, I think you'd be hard pressed to find a...
September 5, 2012 at 9:28 am
hydbadrose (9/5/2012)
I already used this update command but did not work. its emptying out the column.UPDATE [state]
SET [state] = RTRIM([state])
The above command cannot "empty out" the column. You did something...
September 5, 2012 at 9:09 am
Viewing 15 posts - 1,276 through 1,290 (of 2,894 total)