Viewing 15 posts - 1,366 through 1,380 (of 1,554 total)
According to the example, not only does the object names differ, but also column names - which leaves the equality test to just be about columnorder and datatype match..?
If so,...
September 22, 2004 at 12:13 am
If nothing else, maintenance and debugging also becomes much easier when things are written explicitly.
/Kenneth
September 22, 2004 at 12:03 am
Also be aware that the information_schema.* views only return results within the context of the executing user.
ie - if you're logged on as (any) user, and there is a table...
September 22, 2004 at 12:00 am
That is as simple as it gets
If you think about it (try to do the math yourself) - if you were to sum...
September 21, 2004 at 11:54 pm
Can you expand on what is not working?
Errormessages? Nothing seems to happen? Something happens but not what you expect?
Further, after the function call (ie you have a string to be...
September 21, 2004 at 11:32 pm
I believe the quickest / easiest way would be to load the file into a table, then read the number from there.
You can use isql/osql/bcp/dts etc in order to get...
September 21, 2004 at 11:28 pm
Can you post an example of the query you have?
/Kenneth
September 21, 2004 at 11:23 pm
Unfortunately, the resolved errormessage isn't trappable from within Transact SQL.
A method to avoid this problem could perhaps be to avoid inserting duplicates into a unique constraint? It's not that...
September 21, 2004 at 7:16 am
Have look in BOL at the chapter called "Creating and Managing Traces and Templates". It's a good place to start.
/Kenneth
September 21, 2004 at 5:10 am
What you're asking for is how to tokenize the input variable. Not easily done in Transact SQL, and tend to get pretty ugly when attempted. It's not optimal and don't...
September 21, 2004 at 5:04 am
Easily? Without any distinguishing charachteristics? Can't be done "easily".
Anyway, you'll have to loop through the entire string until you find the ip (or...
September 21, 2004 at 4:54 am
Well, good luck
This seems to be a security context issue and/or firewall blocking.. Make sure you keep track on each step and what...
September 21, 2004 at 4:02 am
Either loop through all 8 tables, as you suggest, or do a:
select min(x.total)
from
(
select total from table1 where...
union
select total from table2 where...
union
select total from...
September 21, 2004 at 3:57 am
Here's one way to do it. Adjust datefirst and/or the offset in dateadd() functions accordingly for what start-end days you want.
-- The example shows how to find out...
September 21, 2004 at 3:46 am
Try talking to the security/firewall guys..?
/Kenneth
September 21, 2004 at 3:35 am
Viewing 15 posts - 1,366 through 1,380 (of 1,554 total)