Viewing 15 posts - 2,386 through 2,400 (of 5,504 total)
To summarize Tom's statement: "It depends!" 😀 (Tom, correct me, if I'm wrong)
December 16, 2010 at 4:52 pm
You run multiple queries against the same (namespaced) xml source.
Therefore, you'd need to declare the names pace for each and every query against that xml source. Right now it's just...
December 16, 2010 at 4:42 pm
based on your description your orignal approach isn't that far off...
SELECT [event] FROM [yourTable] WHERE [date] = @currentdate
The "tricky" part is how you store the event dates in the [date]...
December 16, 2010 at 4:33 pm
Run the code.
Read the error meassge.
Try to figure out what it means (e.g. column name not defined in the referenced table?)
Try to resolve the issue.
If you can't figure...
December 16, 2010 at 4:17 pm
a) the end tag < / Ridge > has no start tag
December 16, 2010 at 3:12 pm
Hard to tell without knowing anything about your table structure...
Please provide more details. See the first link in my signature on how to do it to get a coded and...
December 16, 2010 at 3:11 pm
errmm... :unsure:
Did you notice what I mentioned as b) two posts before, restated in my previous post?
December 16, 2010 at 2:41 pm
What happens if you'd run the following statements separately nad in the given order on database SedaliaHLB_RenCS (those are the sprocs called within the job steps) ?
Execute HLBInventoryCheckAllAccepted
Execute HLBInventoryCheckUnaccepted
EXEC HLBInventoryCheck
December 16, 2010 at 2:38 pm
I still don't understand.
What's the difference between @lastdate and convert(datetime, datename(month,@lastdate) + " " + datename(day,@lastdate) + " " + datename(year,@lastdate) + " 00:00") ?
If all you're trying to do...
December 16, 2010 at 1:48 pm
Use a subquery (or CTE) to select the TOP 3 order VoteCount and join that back to your original table on Detailname in an update statement.
As a side note: ready...
December 16, 2010 at 1:41 pm
see item b in my previous post.
Side note: It usually helps if the error code is included in the post, not just mentioned...
December 16, 2010 at 1:34 pm
I don't understand your requirement.
Please post table def, sample data and expected result in a ready to use format as described in the first link in my signature.
December 16, 2010 at 1:21 pm
I'm pretty sure you won't be able to run it using SS2000...
SQL Server requires single quotes, not double quotes.
The issue is within the last part of your statement: you'd need...
December 16, 2010 at 1:11 pm
There are severa lissues with that new file:
a) the end tag < / Ridge > has no start tag
b) There is a new node level (Mains) introduced that needs to...
December 16, 2010 at 11:44 am
It sure will.
Take the code snippet for the child table.
Replace 'Childs/Child' with 'Father' in CROSS APPLY T.c.nodes('Childs/Child') U(v)
Assign a different temp table to hold the output data, if needed for...
December 15, 2010 at 4:20 pm
Viewing 15 posts - 2,386 through 2,400 (of 5,504 total)