Viewing 15 posts - 181 through 195 (of 224 total)
Add this line:
conn1.Open()
Just before ExecuteNonQuery.
The context connection is, of course, already open, but in this case you are opening the SqlConnection object (allowing it to connect to the already open...
April 15, 2008 at 8:19 am
Salary history can help or hurt you. My husband (C++ developer) in 2000 was at a position where he was underpaid and the job market was hot. He refused to...
April 11, 2008 at 8:12 am
Oh yes, the SELECT isn't required. You're right, of course.
No, I despise VB. I've been working almost exclusively in C# for several years and am not currently a DBA,...
April 9, 2008 at 9:43 am
I realize that the author threw in the Age computed column as a test of whether we knew that computed columns take up no space in a row. However, as...
April 9, 2008 at 9:28 am
Bert,
I worked for a company that treated its people that way. They were software developers, mostly. A lot of people got "promotions" that added the word "acting" to their title....
May 4, 2007 at 9:25 am
Yes, I'm running on a laptop. I hate to change my power settings because sometimes I work without the power cord attached (briefly, this thing has terrible battery life) and...
March 13, 2007 at 3:15 pm
I got it to work!! There are so many little gotchas with Service Broker. I've made a huge mess of my schema trying all sorts of manipulations. Anyway, this is what...
March 9, 2007 at 3:44 pm
I'm closer to solving this problem but I'm still having issues.
I discovered where the errors are.
SELECT * FROM
March 9, 2007 at 2:21 pm
Interesting... I'm running SQL Server 2005 Dev Ed. Your script performs the same on my server. I've been testing it with other numbers divisible by 4, but errors don't occur...
March 9, 2007 at 11:55 am
PW provided a good trigger solution.
However, I want to point out that in your original trigger code, the first IF statement is not necessary. In the later query, you are...
March 1, 2007 at 8:09 am
It does help, gives me a direction. I've never used SSIS. I know what it stands for and that it has something to do with data import/export. Microsoft's edition chart indicates...
February 21, 2007 at 8:56 am
Almost everyone who's posted agrees that anyone who bought the DVDs should expect to pay for them after Amazon figured it out. Many also say that those who noticed the error...
February 16, 2007 at 9:54 am
Thanks, Dinakar, for shooting holes in my plans. No, really, thanks. I needed to know that before I went any further in the wrong direction.
My problem now is not technical...
February 15, 2007 at 12:49 pm
Love the editorial... a lot of good points. The points are general, I see myself in some of the points, but not all of them.
Sports!! You hit the nail on...
February 15, 2007 at 8:55 am
I would love to be able to implement a better solution. I wish I could say this project was in design stage. However, it's in PRODUCTION already and the customer...
February 15, 2007 at 8:36 am
Viewing 15 posts - 181 through 195 (of 224 total)