Viewing 15 posts - 57,196 through 57,210 (of 59,049 total)
Yes, it is possible to modify the number by first doing a SET IDENTITY INSERT... here's the syntax from Books Online...
SET IDENTITY_INSERT [ database. [ owner. ] ] { table...
November 24, 2006 at 4:53 pm
Actually, there is one method that's a few milliseconds faster over a million or so rows...
SELECT CAST(CAST(datecolumn-.5) AS INT) AS DATETIME)
As usual, please don't take my word for...
November 24, 2006 at 4:48 pm
Felix...
You may want to post some of those custom functions you're talking about... you'd be surprised at how some of them can be speeded up or maybe even eliminated with...
November 24, 2006 at 4:33 pm
And, you still need to determine.... is null a date way back in the past or a date in the future?
November 24, 2006 at 4:27 pm
The destination table has a ROWID field which cannot be an identity key, ...
Why the heck not?
November 24, 2006 at 4:22 pm
I'm not seeing the pattern here... can you explain how you came to the actions you took and why you need to do the INSERT to begin with? What do...
November 24, 2006 at 4:17 pm
Yes, there are some concerns...
SQL Injection Attacks
Poor performing code due to recompiles because is really 100% dynamic SQL
Poor performing code because it's written by GUI experts who might not be...
November 24, 2006 at 4:11 pm
Thanks for taking the time to provide the belated feedback
Lot's of times, you wonder if someone died or what?
November 24, 2006 at 4:02 pm
This would work...
SELECT *
FROM dbo.PostalCodes P WITH (NOLOCK)
WHERE SQRT(
POWER((69.1 * (P.Latitude - @Lat1)),2.000)
+ POWER((53 * (P.Longitude - @Long1)),2.000)
) <= @Distance
...but I believe this only works...
November 20, 2006 at 9:42 pm
Cool... thanks for the feedback, Mick.
November 17, 2006 at 8:12 am
"SysDate"
"Months_Between"
Are you trying to do this in Oracle or SQL Server?
November 16, 2006 at 8:53 pm
DTS the production tables to a development database.
November 16, 2006 at 8:48 pm
David,
Tomakeiteasiertotroubleshootyourcodeyoushouldadoptandfollowaformattingstandardthatincludesthepropercasingpunctuationandindention
Intheprocessofformattingyourwillfindthatmanyproblemswiththecodewillsimplyvanishbecauseyouwillbelookingatthecodemorethanonceaswellasit
beingeasiertounderstandforevenyou.
November 16, 2006 at 8:46 pm
I think the reason you've had no luck with the other post is because most of the folks on this forum will likely tell you that storing images in the...
November 14, 2006 at 6:21 pm
I expected the 3 tier purists to come out of the woodwork... for some reason, they seem to prefer doing the "business logic" without using stored procedures. I'm just the...
November 14, 2006 at 8:19 am
Viewing 15 posts - 57,196 through 57,210 (of 59,049 total)