Viewing 15 posts - 166 through 180 (of 1,124 total)
Can you post the execution plans as .sqlplan file attachments for both the queries?
May 19, 2009 at 5:55 am
I don't see any issues with the statements, but I think you can try changing the NOT EXISTS clause to EXISTS clause and see if there's any performance improvement.
May 19, 2009 at 5:34 am
There are many methods by which you can delete duplicate rows from one table. Here is one of the ways you can do it.
It can also be done using...
May 19, 2009 at 5:27 am
Florian Reischl (5/19/2009)
CLR rocks for file handling! :laugh:
Ya, I know CLR rocks with file handling, string manipulations etc., but I never really liked those .NET languages, 'cause I never succeeded...
May 19, 2009 at 5:18 am
Check out the following code.
DECLARE@year INT, @month INT
IF ( OBJECT_ID( 'tempdb..#test' ) IS NOT NULL )
DROP TABLE #test
CREATE TABLE #test
(
IncidentMode VARCHAR(100) NOT NULL,
CreatedDate DATETIME NOT NULL
)
INSERT#test( IncidentMode, CreatedDate )
SELECT'kunal',...
May 19, 2009 at 5:03 am
pankaj.baluni (5/19/2009)
.... why do we need to pass a unicode value
When the calling procedure expects a UNICODE value
pankaj.baluni (5/19/2009)
when do we actually need it..?
To support international language support
pankaj.baluni (5/19/2009)
May 19, 2009 at 4:34 am
Florian Reischl (5/19/2009)
Hi RameshRamesh (5/19/2009)
...OLE Automation Objects...:w00t:
... I really hope Active-X will die with CLR integration.
Greets
Flo
:hehe:And I am hoping that Active-X should die with T-SQL.
I never was a...
May 19, 2009 at 4:21 am
I think this code COUNT(CASE WHEN Ethnic_Origin = '' THEN 0 ELSE 1 END) will always return COUNT(*) instead of COUNT(NonBlanks). Change the function COUNT to SUM
( SUM(...
May 19, 2009 at 4:12 am
Can you post the query/view which you are currently using?
May 19, 2009 at 3:58 am
Don't cross post, continue discussions here
May 19, 2009 at 3:55 am
First of all, for all your future posts read this article on how to post questions to getter better responses[/url]
May 19, 2009 at 3:54 am
Using bcp or sqlcmd command utility in conjunction with xp_cmdshell procedure. For e.g.
EXECUTE master.dbo.xp_cmdshell 'sqlcmd -Q "SELECT * FROM AdventureWorks.Person.Contact" -o
MyOutput.txt'
EXECUTE master.dbo.xp_cmdshell 'bcp "SELECT FirstName, LastName FROM AdventureWorks.Person.Contact...
May 19, 2009 at 3:40 am
When you say "some of the features don't work", do you get any errors when trying to work with those features. If yes, can you post those errors and...
May 19, 2009 at 3:36 am
It can be done both the ways, but since you are already using the script component to do some parsing, its better to add the new column to the script...
May 19, 2009 at 3:35 am
By prefixing a constant string with "N", you are letting SQL to know that the string is a UNICODE string.
May 19, 2009 at 3:29 am
Viewing 15 posts - 166 through 180 (of 1,124 total)