Viewing 15 posts - 4,036 through 4,050 (of 5,504 total)
So it looks like your data don't include any rows for (DEP.UserDelete = 0) AND (DEP.EventID = 654) that are between today and March 16th.
Try
SELECT * FROM DefendantEventPros
WHERE...
March 9, 2010 at 9:55 am
moonbrig (3/8/2010)
I'm newbie in this forum. Anyone can give me any suggestion of open source tools to convert database from .sql to .CSV? I also try to find how...
March 9, 2010 at 8:00 am
It looks like you limit the data with one of the INNER JOINS from below.
Please reduce your query to those tables and check whether you'll get any values for today...
March 9, 2010 at 7:55 am
Did you try
exec sp_helpuser 'user'
to see if they belong to different roles on the two db?
March 8, 2010 at 3:02 pm
I'm not sure if the rewritten versions of the attached functions will return the same as yours currently used, but it might be worth a try...
Especially dbo.GetOrganizationBedStatusID could be simplified...
March 8, 2010 at 2:38 pm
@bob-2 (The-One-Who...)
It's funny that both of us came up with the almost identical solution. Including the BOL quote. Especially, if you put it in perspective to the "discussion" on THE...
March 8, 2010 at 2:03 pm
wwei (3/8/2010)
Thank you so much for your help.
I tried, seems still not working for me.
If I change the destination data type to either money, decimal, or number, will...
March 8, 2010 at 1:56 pm
Seems like you've got trapped by some display issue when using PRINT...
If you'd run a SELECT instead, it's a little different- but probably still not exaclty what you're looking for....
March 8, 2010 at 1:35 pm
You could send the ID values as a comma separated list in a varchar variable to your sproc.
Run a high performing split string function to separate the values (an example...
March 8, 2010 at 1:19 pm
A few questions to clarify the scenario:
What would be the sorting criteria? (I'd expect an ID or datetime column but there's none...)
How would you deal with an element being deleted?...
March 8, 2010 at 1:06 pm
I'd prefer using XQuery rather than OPENXML.
Something like
DECLARE @VChr1 XML
SET @VChr1 = '<i>1</i><i>52</i><i>3</i>' -- had to do it in two steps due to SS2K5
SELECT
T.c.value('./text()[1]','int') val
FROM @VChr1.nodes('i') T(c)
March 8, 2010 at 12:54 pm
Ooopps!! You're right. I missed that the [type] column holds different data. I didn't spot the different values clus vs. ulus.
Your code should run just fine.
March 8, 2010 at 12:03 pm
knovak (3/8/2010)
March 8, 2010 at 10:30 am
clive-421796 (3/7/2010)
Would like to hear from the likes of Jeff Moden, Lynn Pettis, etc. if they have a solution for this.
...
You will notice I mentioned Jeff Moden, Lynn Pettis, etc.
etc....
March 7, 2010 at 12:51 pm
Viewing 15 posts - 4,036 through 4,050 (of 5,504 total)