Viewing 15 posts - 58,066 through 58,080 (of 59,067 total)
You may be able to get a bit more performance out of it by changing this...
WHERE neighborhoodinfo.dbo.Profiles.ZIP IS NOT NULL
...to this...
WHERE neighborhoodinfo.dbo.Profiles.ZIP > '00000'
... which will also exclude "bad" zip...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 28, 2006 at 3:09 pm
Other than adding a primary key (defaults to clustered), there's not much you can do to increase the performance of a SELECT * other than pinning the table (as someone...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 28, 2006 at 8:32 am
Won't work @@Identiy is a scalar function the returns the last identity value created in ANY table by anything in the current scope chain including triggers.
John Mitchel is correct... you'll...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 28, 2006 at 8:22 am
I'm not sure why you need the performance hit of the split function...
For example, here's an example that splits a whole table at once (this one splits on periods which you...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 28, 2006 at 1:42 am
That's because all the good guys are on this forum ![]()
You can get rid of the trailing...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 28, 2006 at 1:01 am
If you can read it (dang, that's small print
), Tim's WHILE loop works just fine on the straight output... so I'll concentrate...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 28, 2006 at 12:29 am
Yep... not enough coffee there... you can do it with a table but not a proc.
--Jeff Moden
Change is inevitable... Change for the better is not.
June 27, 2006 at 11:42 pm
I didn't read the column name... Serqiy is correct. I don't allow folks at work to store XML in any database at anytime. I make the rip it apart and...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 27, 2006 at 5:53 am
Or...
IF OBJECT_ID('dbname.dbo.objectname') IS NOT NULL
DROP objecttype dbname.dbo.objectname
--Jeff Moden
Change is inevitable... Change for the better is not.
June 26, 2006 at 8:49 pm
Get External Data cannot see sprocs or results of sprocs. You will need to make a "pass through" query. See the Excel documentation for help on that.
--Jeff Moden
Change is inevitable... Change for the better is not.
June 26, 2006 at 8:40 pm
CHAR adds trailing spaces until the column is full. When you convert to VARCHAR, those spaces are retained and that's probably what is making the join fail.
--Jeff Moden
Change is inevitable... Change for the better is not.
June 26, 2006 at 8:38 pm
Lookup the following in Books Online (Transact-SQL Help from Query Analyzer)...
sp_addlogin
sp_grantdbaccess
--Jeff Moden
Change is inevitable... Change for the better is not.
June 26, 2006 at 8:35 pm
Two tables with a common key will be much much easier than a Text column... put the VARCHAR(8000) column in the second table along with the primary key of the...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 26, 2006 at 6:38 pm
How big is the numerator? Do you want the quotient with or without decimal places? If so, how many do you want or are you willing to put up with...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 26, 2006 at 6:35 pm
Thank you for the feedback...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 26, 2006 at 6:27 pm
Viewing 15 posts - 58,066 through 58,080 (of 59,067 total)