Viewing 15 posts - 31 through 45 (of 59 total)
Might be best to concentrate on lack of normalisation. There tends to be debate on just when it's appropriate to use identity cols / artificial keys etc, but it should...
September 28, 2005 at 2:44 am
If for some reason the numbers really must be sequential,(and as others have said, this is rare) then you could generate one in your VB code, or a trigger, maybe in...
September 2, 2005 at 3:13 am
Hi Gary
Yes that is a nasty shock! Do you mean it hits every row even when there's a where clause to return just one? eg
SELECT dbo.hhmm(starttime) FROM tblemployees WHERE...
August 19, 2005 at 3:14 am
Sorry it's taken me a while to update this, but I've found it now - it's not exactly easy to find . . .
In solution explorer, rt-click your setup project and...
August 12, 2005 at 10:52 am
IIRC when you build the 'deployment project' within VS2005 you get the option to include SSEx as part of it. Sorry I'm not being more specific - haven't got it...
August 3, 2005 at 4:53 pm
Hi Yuren
from BOL:
Values with the datetime data type are stored internally by Microsoft SQL Server as two 4-byte integers. The first 4 bytes store the number of days before or...
August 3, 2005 at 4:43 am
Hi Yuren -
AFAIK it's not possible to resolve the time to anything smaller than milliseconds - certainly not nanoseconds - I guess you meant micro- but my understanding is...
August 3, 2005 at 2:31 am
OK just experimented further and found that Isnothing does work with nulls . .therefore something like this should work:
IIF(isnothing(fields!start_date.value),"X",IIF(fields!start_date.value = 0,"X",fields!start_date.value))
HTH
pg
July 28, 2005 at 5:10 pm
Right - I'm looking at Whidbey, and it so far doesn't seem to have an IsNull ! - it's got Isempty, Isarray, etc but not IsNull.
So I'm not sure about that bit...
July 28, 2005 at 4:59 pm
PS - I've followed your example and assumed you want to do this in the application, in VBdotnet.
If you want to do it in the SQL (perhaps you're using bound...
July 28, 2005 at 3:58 pm
How about:
if isdbnull(fields!start_date.value) OR fields!start_date.value = 0 then
mytextbox.text = "X"
end if
July 28, 2005 at 3:48 pm
PMFJI but I suspect you're slightly missing the point here. As I understand it, UDF's are mostly useful to create functions that in a sense 'extend' T-SQL - adding functions...
July 28, 2005 at 4:25 am
or do you mean VB?
If a=0 Then
s1="a is zero"
ElseIf b=2 Then
s1 = "b is two"
July 28, 2005 at 4:08 am
I think he means 're-create in Access, the sp I currently have in SQL Server'
Anyway, if so, we need to know what's in the...
July 12, 2005 at 3:46 am
<<Now this is a technology company and most of the employees are fairly smart technologists>>
This is the key, though, isn't it? Not only would you need this kind of environment...
June 17, 2005 at 2:00 am
Viewing 15 posts - 31 through 45 (of 59 total)