Viewing 15 posts - 946 through 960 (of 1,193 total)
Oh, I do so hope a potential employer googles you! :pinch:
June 28, 2012 at 10:41 am
Looks ok to me.
Please post DDL etc etc... 😀
June 28, 2012 at 10:17 am
Lynn Pettis (6/26/2012)
Welsh Corgi (6/26/2012)
Then I goggled it and got a article that provided the example that I...
June 27, 2012 at 3:36 am
Some nice stories, cheers 🙂
Had someone at a place I worked, "sold" about 100,000 cars in milliseconds. :pinch:
June 25, 2012 at 3:29 am
Nice question, thanks.
I'd like to start a quick poll: who's updated the most rows in a live table accidentally by not including a where clause in their update statement?
(Doesn't count...
June 22, 2012 at 5:15 am
RovanSQL (6/13/2012)
RovanSQL (6/13/2012)
Gaz:Yes, i am using the PRINT command to see what i get.
If the output query is fine i will change it to EXECUTE.
you mean the PRINT will only...
June 14, 2012 at 2:22 am
Thanks, they should be converted to their variable values by sp_executesql, PRINT will only show the variable as it is, e.g. @rstring.
As this happens within sp_executesql, you won't see it...
June 13, 2012 at 10:45 am
Hi Rovan,
Are you running PRINT @sql to get that output?
Does the EXECUTE command not have the expected results?
Thanks
Gaz
June 13, 2012 at 10:33 am
Hi Derek, the statement immediately previous to the WITH keyword must terminated by a semicolon.
May 23, 2012 at 9:54 am
Massive fragmentation overnight?!
Run it table by table, or index by index to narrow down the location of the problem?
May 23, 2012 at 7:58 am
It appears it does just run DBCC SHOWCONTIG - found this, straight from the horses mouth: http://www.sqlskills.com/BLOGS/PAUL/post/Inside-sysdm_db_index_physical_stats.aspx
DBCC SHOWCONTIG was replaced by sys.dm_db_index_physical_stats. Under the covers though, they both use the...
May 23, 2012 at 5:40 am
Is it a particularly big database?
Far as I know, sys.dm_db_index_physical_stats is a way to produce more consumable results from the 2008 equivalent of DBCC SHOWCONTIG.
May 23, 2012 at 5:30 am
How about SUBSTRING?
select count(EmailId), SUBSTRING(EmailId, charindex('@', EmailId)+1, LEN(EmailId))
FROM dbo.Customermaster
where SUBSTRING(EmailId, charindex('@', EmailId)+1, LEN(EmailId)) NOT IN ('gmail.com', 'yahoo.com', 'yahoo.co.in', 'msn.com', 'hotmail.com', 'hotmail.co.in', 'rediffmail.com',
'rediff.com', 'ymail.com', 'indiatimes.com', 'yaghoo.com', 'localmail.com', 'yahoo.co.uk', 'yahoo.in', 'reidffmail.com',...
May 23, 2012 at 2:55 am
Viewing 15 posts - 946 through 960 (of 1,193 total)