Viewing 15 posts - 12,466 through 12,480 (of 15,381 total)
Maybe you can use a left join in your ImportTableData method.
If SelectSQL.Length = 0 Then
strSQL = "SELECT * FROM " & TableName
Else
strSQL = "SELECT " & SelectSQL & " FROM...
April 11, 2012 at 12:09 pm
Mine is incredibly close to yours Lowell. Instead of stuffing with dept I stuff arrive and just concatenated dept to the derived column.
;WITH flight_tran_table (flight_tran_id , OtherData)
AS
(
SELECT 1234, '(Other Tran...
April 11, 2012 at 11:01 am
You know the one phrase I will always remember from my father is "Do you know where your best helping hand is located? At the end of your arm."
Nobody here...
April 11, 2012 at 10:32 am
asranantha (4/11/2012)
April 11, 2012 at 10:17 am
Actually you are not waiting for answers. You keep asking the same things over and over.
The following link will provide you an answer to your first question.
April 11, 2012 at 9:57 am
Look up ROW_NUMBER() in bol.
Basic syntax is:
select * from
(
select ROW_NUMBER() over (partion by SomeColumn order by SomeOtherColumn) as RowNum
from SomeTable
) x
where x.RowNum = 1
April 11, 2012 at 9:53 am
Gotcha. So you are actually in the process of making this a better already. I certainly understand being stuck with horrible decisions by vendors, it seems that is the only...
April 11, 2012 at 9:49 am
Once again Lowell shares another great time saving utility. Thanks!! Now if I can just remember that I have that. 🙂
April 11, 2012 at 9:38 am
I agree with ColdCoffee on the vagueness of the questions.
To the OP - you simple don't provide enough information to even begin answering your posts. Take a look at...
April 11, 2012 at 9:23 am
I don't think there is a "right" or "wrong" answer here. There are benefits to both sides. The biggest benefit to doing this in the front end (since the URL...
April 11, 2012 at 9:05 am
Looks like Jack was posting pretty much the same response at the same time as me. 😛
April 11, 2012 at 9:01 am
Pretty sparse on details.
It is only when executed through the trigger that the procedure fails.
Do you have error messages?
Can you post the trigger code?
April 11, 2012 at 9:00 am
Lynn Pettis (4/11/2012)
Actually, I would be amazed if the coded posted actually did anything.
It looked like it would do something...nothing good...but something....
create table march_2012
(
first_in numeric(20),
last_in numeric(20)
)
--create some dummy data
insert march_2012
select...
April 11, 2012 at 8:39 am
This article explains why we need the ddl and sample data.
http://weblogs.sqlteam.com/jeffs/archive/2008/05/13/question-needed-not-answer.aspx
In short, you have not provided the entire question.
April 11, 2012 at 8:23 am
Viewing 15 posts - 12,466 through 12,480 (of 15,381 total)