Viewing 15 posts - 11,821 through 11,835 (of 15,377 total)
Kind of an odd requirement to check for scientific notation. Not sure there is exact but maybe something like this?
;with SomeVals (CharVal)
as (
select 'AKN12345' union all
select 'REC12345' union all
select '12.47e43'...
May 29, 2012 at 8:19 am
There are lots of people around that can and will help. However what you posted is not enough information to even fully understand your question let alone be able to...
May 29, 2012 at 7:57 am
CptCrusty1 (5/25/2012)
OMGI am so not on my game these last couple days... Do men get MENapause?
Well we do get MENtal pause. I have often found that this is the...
May 25, 2012 at 11:11 am
I don't think I'll get a solution out of him before he runs off for Labor day.. BUTT...
Well I hope it doesn't take that long...Labor Day is not until September....
May 25, 2012 at 11:07 am
Lynn Pettis (5/25/2012)
You asked about NOLOCK, here is one link. I'll keep looking for others.http://sqlblogcasts.com/blogs/tonyrogerson/archive/2006/11/10/1280.aspx
I posted Gail's favorite yesterday in case you missed it.
http://sqlblog.com/blogs/andrew_kelly/archive/2009/04/10/how-dirty-are-your-reads.aspx
May 25, 2012 at 10:45 am
borislava99 (5/25/2012)
Would it be better to use ?IF @ObjectDB='myDB'
BEGIN
USE MyDB
END
What would you do if @ObjectDB = 'YourDB'? If you do a bunch of hard coded conditionals this proc will out...
May 25, 2012 at 9:41 am
You will to convert the entire thing to dynamic sql.
You can reference objects from any database on the server with full 3 part naming convention (database.schema.object)
Using a variable like...
May 25, 2012 at 9:26 am
blampe (5/25/2012)
May 25, 2012 at 8:58 am
If you want some real help read the first link in my signature. You need to provide a lot more details about what you are trying to do before anybody...
May 25, 2012 at 8:55 am
blampe (5/25/2012)
GO
if exists (select * from sysobjects where type = 'P' and name = 'countSSN')
drop procedure countSSN
GO
create procedure countSSN
as
set nocount...
May 25, 2012 at 8:00 am
Your assessment of cursors in a trigger being a bad idea is correct. Cursors can be really bad for performance and inside a trigger can be one of the worst...
May 25, 2012 at 7:55 am
Yeah there is no sure fire way to do that. One recommendation is to rename the objects instead of deleting them. For example if you have table called "Employees" that...
May 25, 2012 at 7:51 am
sturner (5/25/2012)
Sean Lange (5/25/2012)
May 25, 2012 at 7:42 am
I can remember on many occasions when it was windy we would fly backwards. Just pick a spot and point straight into the wind, slow down to just above stall...
May 25, 2012 at 7:28 am
Viewing 15 posts - 11,821 through 11,835 (of 15,377 total)