Viewing 15 posts - 2,836 through 2,850 (of 6,486 total)
HashBytes isn't guaranteed to be unique, so it's LIKELY they're the same (as in really likely). But you'd still want to double-check anyway (some byte by byte compare once...
June 17, 2008 at 3:29 pm
Sounds to me like a straight application of a running total... It is just that you keep the running total in the variable, and update some different column.
Take a...
June 17, 2008 at 3:26 pm
Sergiy (6/17/2008)
1st rule of programming:There is no program which cannot be shortened by 1 operator.
🙂
Corollary to rule #1: Try not to be that operator....:D
June 17, 2008 at 3:21 pm
I've done something like that with DTS a few times. For better or worse - I found it easier to have DTS handle the importing of a single file,...
June 17, 2008 at 2:27 pm
Michael Earl (6/17/2008)
If you do this, I think you may need to enable unsafe assemblies - I don't think the system IO namespace is...
June 17, 2008 at 2:16 pm
jeffrey yao (6/17/2008)
June 17, 2008 at 1:54 pm
Jason - have you considered a CLR function? You could run a split on BOTH ^ and (space), and then put it back together from there, or a regex...
June 17, 2008 at 1:46 pm
You should definitely look at parameter sniffing like has been suggested. The other suggestions are also excellent for overall tuning, but parameter sniffing helps explain why the SP makes...
June 17, 2008 at 1:42 pm
You may find that it simply has to do with certain columns not automatically lining up with the "correct" destination. Without specifying the column names, you're gambling a little...
June 17, 2008 at 1:35 pm
Easy - put the Tally table in another database not so tightly managed. you don't HAVE to put it in the database that changes all of the time. ...
June 17, 2008 at 1:30 pm
Tell it you want to put it in tempdb...should do the trick. Then you can figure out where to put the stuff.
The other option might just be the import/export...
June 17, 2008 at 1:27 pm
This should get you there.
declare @amt decimal(18,4)
set @amt=1.277;
select @amt-
(cast(@amt*10000 as int)%500*1.0/10000)
...
June 17, 2008 at 1:21 pm
If you have the data in Access, why not just load it into SQL Server from there? It seems to me to take a rather large step backwards to...
June 17, 2008 at 1:05 pm
bitbucket (6/17/2008)
for 44.95 and will ship next day if you elect to do so.
Did same and found it easy to install, once installed go to...
June 17, 2008 at 12:59 pm
rbarryyoung (6/17/2008)
rbarryyoung (6/17/2008)
Ah, it's SQL, not CLR...Du'h, it's not the SQL2005 forum... :blush:
I know. It also doesn't help that the OP really did have 2005. I was already started...
June 17, 2008 at 11:40 am
Viewing 15 posts - 2,836 through 2,850 (of 6,486 total)