Viewing 11 posts - 16 through 27 (of 27 total)
Thanks Pw,
Using profiler, I think I know why it is not working. The executing command: exec sp_executesql N'INSERT INTO "<DataBaseName".."Orders" ("Id",...) VALUES (@P1,...) is not including the PkgCodeID field in...
March 17, 2005 at 11:15 am
Since I didn't write the app, I am not sure except that it is not a stored procedure. I am familiar with all of the stored procedures on the server,...
March 16, 2005 at 4:12 pm
Thanks Noel,
I have learned how to do most of the things I need to in T-SQL, but now I am trying to learn how to do them right.
Thanks for your...
January 7, 2005 at 12:20 pm
Is there a 1 to 1 relationship between voucher payments in tbl1 and tbl2? I think that it could be done with a cursor on tbl1 if there is no...
December 22, 2004 at 11:33 am
Would this give the results you desire?
select col1, col2 from test where col1 < col2
union
select col2, col1 from test where col2 <= col1
Still learning, but I think it would do...
December 17, 2004 at 3:55 pm
Using Farrell's table, I think that this variation of some of the previous solutions will do what you want:
SELECT DISTINCT ac.AccountNum, ac.EffBeginDate, ac.EffEndDate
FROM #Account ac
JOIN
(SELECT AccountNum,...
December 14, 2004 at 11:09 am
Thanks for the suggestion. We used another method to accomplish the goal without the stored procedure, but I will experiment with this anyway as I get time for future reference.
I...
May 19, 2004 at 7:37 am
You solved the problem! Somehow the compatibility level had been changed to 70.
I don't know how it got changed, but thanks for you...
April 28, 2004 at 12:26 pm
Thanks, stacenic
I think that this will do what I want it to do. It worked on the test data, so I think I can adapt it work on the real data....
April 5, 2004 at 10:00 am
SubjectID is char, but will always contain numerical values, so can successfully be cast as int.
April 2, 2004 at 1:36 pm
Thanks for the input. I am learning much from this forum. I didn't consider that it might work if varchar, since most of the tables I work with use char()...
December 30, 2003 at 8:41 am
Viewing 11 posts - 16 through 27 (of 27 total)