Viewing 14 posts - 91 through 104 (of 104 total)
I haven't found the complete answer but I wanted to update this post with what I have found.
The following Bulk Insert command will move data from a text file to...
July 14, 2010 at 8:30 pm
Jeff,
Thanks for pointing me in the right direction. It looks like the Format File will do all that I need. I assume if I do not specify a field in...
July 12, 2010 at 2:25 pm
Paul,
I agree that explicit is clearer than implicit. I will reread your post and the reference a couple of times and will hopefully retain some of it.
In practice, I will...
July 2, 2010 at 6:58 am
Just to be complete in my post I should have shown:
Select Cast(2 as decimal(18,6))/cast(3 as Decimal(18,6))) from Table :666666666666666666
pat
July 2, 2010 at 5:39 am
Eugene and Paul,
Thanks for continuing the discussion. I can go back to my previous practice of choosing the smallest data type. I can use 1.0 * in all my divisions...
July 2, 2010 at 5:22 am
Eugene,
Thanks for clearing things up with points 1 and 2.
If you don't mind I would like explore question 3 a bit.
I am a VB programmer. Historically, I have done my...
June 30, 2010 at 10:30 am
Gail,
Thanks for the advice, especially pointing out that the way we are doing it requires an update to the data file. Our problem is a lack of resources.
Tomorrow the...
May 17, 2010 at 9:13 pm
Jason,
Yes, I wasn't clear on that. It is detached. I am trying to attach it (a SQL 2000 database) to a SQLExpress 2008 instance.
pat
May 17, 2010 at 5:05 pm
It was late. The DateAdd function is incorrect. It should read.
DateAdd("d",1,Now)
or in VB 2008
DateAdd(DateInterval.Day,1,now)
T-Sql to the left of the operator, VB to the right.
November 20, 2008 at 5:12 am
I understand. No functions on the left hand side of the operator.
If I want to reutrn the records Less than or equal to My Date then it will be
Where EndDt...
November 19, 2008 at 9:36 pm
A friend suggested the following. It seems to be cleaner than mine.
Where cast(varchar(8),EndDt,112) <= Format('01/02/2009',"yyyyMMdd") Sorry for mixing T-SQL and VB.
However, both Jeff and Lynn bring up the issue of...
November 19, 2008 at 3:03 pm
Jeff, I didn't know that the string conversions would slow things down. Thanks for that piece of information. I had used the increase the day by one trick previously. But...
November 18, 2008 at 5:03 am
Lynn,
Thanks for your replies. You have started me thinking in different direction than I had been. The problem I am trying to solve is one of comparing dates but not...
November 17, 2008 at 2:58 pm
1. I should have backed up and restored. This solved the missing identity problem.
2. I disabled the Tools>options>Designers>table and database designers>Prevent saving changes that require table recreation.
This name is a...
August 30, 2008 at 8:38 am
Viewing 14 posts - 91 through 104 (of 104 total)