Viewing 15 posts - 241 through 255 (of 381 total)
dim dt
dim sdt
dim stm
sdt = "2006/01/01"
stm = "10:50:30"
dt = dateserial(cint(left(sdt, 4)) cint(mid(sdt, 6, 2)), cint(right(sdt,2))) + cdate (stm)
January 12, 2007 at 6:18 am
I am going to step out on a limb. I can't think of a way to test my answer.
Check the windows groups in your SQL logins, including Domain Users (if that...
January 11, 2007 at 6:00 am
I think that is what I will do, since Task3 does not take too long to run. My goal is to have Task3 run while Task1 on another set begins.
January 11, 2007 at 5:43 am
January 10, 2007 at 4:01 pm
The more complicated:
select a.Part, a.QtyBreak, a.Price from tbl a
inner join (Select Part, min(QtyBreak) as QtyBreak from tbl
group by Part) b
on a.Part = b.Part and a.QtyBreak = b.QtyBreak
January 10, 2007 at 12:03 pm
I am going to make one assumption: Price doesn't have null and Price gets lower as the QtyBreak gets lower:
Select Part, min(QtyBreak) as QtyBreak, min(Price) as Price
from tble
group by part
January 10, 2007 at 12:00 pm
I can do this in a stored procedure for a single row (multiple rows with a little fudging).
declare @Location varchar(255)
select @Location = nz(@Location + ' ', '') + nz(Acct.Location, '')
FROM dbo.PM_PatientData...
January 10, 2007 at 11:33 am
The first thing to try is
AVG(CAST(SUBSTRING(A.Score, 1, len(A.Score) - 1) AS int))
By using SUBSTRING(A.Score, 1, 2) "100%" will be 10.
January 10, 2007 at 6:50 am
On whatever computer you are running dtsrun, you will need to have the DSN. The package knows that the connection is identified with the DSN X. DTSRun is going to...
January 10, 2007 at 6:24 am
What result did you expect to get and what result did you actually get? What was wrong with your results?
January 10, 2007 at 6:20 am
Are the join columns compatible? One isn't an integer and the other a string that contains numeric data (most of the time)?
January 9, 2007 at 12:02 pm
Is this a straight Access table or a linked table to SQL Server? I'm at a loss.
January 9, 2007 at 11:31 am
Just a couple modifications if you are using VB.Net. You need the text property. I believe that the Text property always has at least an empty string. I would use...
January 9, 2007 at 7:25 am
oCustomTask1.SQLStatement = oCustomTask1.SQLStatement & "Values ('" & Textbox1.Text & "', '" & Textbox4.Text & "', '" & Textbox7.Text & "')"
January 9, 2007 at 6:43 am
http://msdn2.microsoft.com/en-us/library/system.windows.forms.filedialog(VS.80).aspx.
http://msdn.microsoft.com/msdnmag/issues/03/03/CuttingEdge/
The latter is C# code, so you will have to convert to VB.
January 8, 2007 at 10:06 am
Viewing 15 posts - 241 through 255 (of 381 total)