Viewing 15 posts - 631 through 645 (of 5,356 total)
If there is a time component unequal midnight in your data, you might want to use something like this
dateadd(d, -
April 8, 2005 at 1:56 am
Piggy-backing on Chris, see if this also helps explaining
http://vyaskn.tripod.com/differences_between_set_and_select.htm
April 8, 2005 at 1:51 am
To expand a bit on cursors (in answer of a PM to me, Remi ):
I think cursors are viewed by most folks as...
April 8, 2005 at 1:48 am
Okay, good point. But I think the situations where you truely need a cursor a *very* rare.
April 8, 2005 at 1:18 am
I still think this is some kind of unreal. I can't say how many times I've looked at the MS site to convince myself that...
April 8, 2005 at 1:16 am
Glad it helped. You're welcome!
April 8, 2005 at 1:01 am
Hm, this doesn't indicate some error. You haven't posted the error message you get and can you also provide the information reqeusted here: http://www.aspfaq.com/etiquette.asp?id=5006
Another thing is, be explicite in...
April 8, 2005 at 1:00 am
And what do you do about tables with no indexes?
Create one to move the data and drop it afterwards. Still faster than using EM.
April 7, 2005 at 8:43 am
It is no FLOAT. It's a BINARY(8) and SQL Server does store two integers in there. The first 4-bytes represent the days since SQL Server's base date, the second 4-bytes...
April 7, 2005 at 8:36 am
If this http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=5&messageid=172848 is the same question, please refrain from multiposting. Let's use then the other thread.
April 7, 2005 at 8:24 am
So, you want to import those rows that doesn't already exist in your production table? If so, have a look at EXISTS() in BOL. and maybe this helps, too:
http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=8&messageid=172771
April 7, 2005 at 8:23 am
...not only the code, but also the error message you've indicated in the subject.
April 7, 2005 at 6:50 am
Re expected output. A new table with a list of exceptions - ie dosnames in one table but not the other. So a join probably wouldn't help anyway, as I...
April 7, 2005 at 6:21 am
Forgive my ignorance, but why do you store such redundant data like a running balance in your db at all?
The usual approach is either use something like this:
IF OBJECT_ID('lfdsum_t') IS...
April 7, 2005 at 4:51 am
You don't need to loop through your rows. Just JOIN both tables on a common column and then you can compare almost whatever you want and insert this result into a...
April 7, 2005 at 4:38 am
Viewing 15 posts - 631 through 645 (of 5,356 total)