Viewing 15 posts - 2,341 through 2,355 (of 6,486 total)
Vaiydeyanathan.V.S (10/31/2007)
Functions----------
1) can be used with Select statement
2) Not returning output parameter but returns Table variables
3) You can join UDF
4) Cannot be used to change server configuration
It's more accurate...
October 31, 2008 at 7:59 am
Do you have specific rules in mind? If you do, then we might be able to help you build whatever you need. Just try to lay out what...
October 30, 2008 at 4:01 pm
If you were to store the times in datetime fields, then it's simply a comparison. No hard logic other than whatever rules you wish to apply based on the...
October 30, 2008 at 3:59 pm
smells like homework to me.....:ermm:
October 30, 2008 at 3:39 pm
If it's truly the primary key, then the TOP 1 is not going to help.
I personally dislike (where dislike = is something I bounce back during code reviews) using TOP...
October 30, 2008 at 3:38 pm
AnzioBake (10/30/2008)
At the lowest level even "set based" queries are handled at a row by row level:D
Think about updating running totals with the
var=col=var +cnt
syntax
(goes...
October 30, 2008 at 10:57 am
Well keep in mind that the code in one instance is running under your credentials, and in the other, under the SQL Agent's service account. That's two accounts right...
October 30, 2008 at 10:28 am
DavidL (10/30/2008)
October 30, 2008 at 9:51 am
GilaMonster (10/30/2008)
Matt Miller (10/29/2008)
October 30, 2008 at 9:45 am
Are you still having trouble? I can't quite tell if you fixed your own issue, or just one and there's still something to do.
If you still have trouble...
October 29, 2008 at 8:41 pm
If you're using natve Access queries - you will need to use the NZ function instead of the ISNULL function Lynn mentioned (ISNULL is something different in Access).
October 29, 2008 at 3:18 pm
Not quite - what I've seen that acts oddly on occasion is when you have
UPDATE blah
set ....
FROM
anotherBlah
where blah.id=anotherblah.id
Instead of
UPDATE blah
set ....
FROM...
October 29, 2008 at 1:58 pm
In SQL Server - you'd simply add a JOIN to the FROM statement in your INSERT INTO.
Something like
Insert into #tmpTable(fieldlist)
SELECT fieldlist
from
tableA
Inner join Tableb on tableA.ID=tableB.id
WHERE
myCriteria=1
I haven't touched...
October 29, 2008 at 11:57 am
I think you issue is that you're not specifically mentioning the view you're updating in the FROM clause. That kind of stuff tends to be a timebomb of sorts,...
October 29, 2008 at 11:42 am
Then I'd flip the issue around. Use a .NET console app to create a properly delimited file (not XML) from the "native" XML, and the bulk load the new...
October 29, 2008 at 11:23 am
Viewing 15 posts - 2,341 through 2,355 (of 6,486 total)