Archive for February, 2010

How do I get my witness statement recanted?

February 19, 2010 - 7:19 am 2 Comments

I’m 17, if that matters. The accused hasn’t had a bond set up or a trial yet. He got arrested on Friday, October 30. Who do I go to in order to get a statement recanted? Do I have to do it in person or can I communicate via mail or telephone?
I didn’t try to charge anyone with anything. I just wrote a bit of what happened during an argument. I don’t believe that everything was accurate.

You should do it in person. Depending on the nature of your correction, they might arrest you for making a false statement — which will be easier if you’re already in the police department.

SQL UPDATE STATEMENT NOT WORKING?

February 17, 2010 - 5:27 am 2 Comments

UPDATE TABLENAME as a
SET a.NAME = b.NAME2
FROM TABLENAME2 as b
WHERE
a.ID = b.ID2

What’s wrong, it is not working?

I don’t see anything wrong the the statement alone. What is it not doing? Are you getting errors? Just not updating? Is ID2 the correct field name in TABLENAME2? ID2 seems a little odd. So does NAME2.

If the two tables have different names (ID vs ID2, Name vs Name2) you don’t need the ‘as’ clauses. If they do have the same name, don’t put the 2 after it.

That’s all I can think of without more information.

Good luck.

If I pay my credit card bill in full, on time every month, will I be paying any interest rates?

February 17, 2010 - 5:27 am 6 Comments

I want to get a credit card to help me increase my credit score partly. But mostly for emergencies.

Will I be charged any interest if I manage to pay my credit card bill in full on reciept of the statement each month?

Any other extra info. On credit cards would be appreciated too, I’m in no rush to get one, so fire away guys

A lot of people think that if you pay off the balance in full every month, you avoid all interest and fees. False! If depends on how they calculate interest and whether there is a grace period. Low-end, poor-credit cards may have no grace period, interest calculated from date the charge is posted, high interest rates. That combination is a triple whammy which insures that those with lower incomes or poor credit remain poor and in debt.

Read your credit card conditions and terms very, very carefully! Make sure there is a grace period during which balances paid in full won’t accrue any interest. And they change things, so if there is another disclosure with this month’s statement, you have read the whole thing from scratch again searching for whatever they may have changed.

What is a good thesis statement for a paper about the power of myths?

February 17, 2010 - 5:27 am 1 Comment

I am writing a paper about the positive ways myths can make sense of the world around us and potential problems belief in myth can create. I already have all my sources but I am just having trouble coming up with an opening statement so that it doesn’t sound like a 10 year old wrote it. Thanks for your suggestions.

Possibilities:
-The ancient greeks have a powerful mythology that explains the world phenomenon.
- Many of the ancient civilizations had strong religious beliefs that influenced their actions, and helped them to understand the ways of the world.
- The legends told in cultures of the past helped satisfy their curiosity on how the world functioned.

sql select statement today’s date - 20 days?

February 15, 2010 - 4:12 am 3 Comments

Hi,

I want to use the SELECT statement to get all my records from my table which is 20 days from the current date. I have been trying all ways but can’t get it.. help will be appreciated!

SELECT WEIGHT, TIME, USER_ID
FROM dbo.WeightTable
WHERE (USR_ID = ‘abc’) AND ….(what to put here)

i am using ms sql server management studio express.. 2005 version. thanks!

SELECT WEIGHT, TIME, USER_ID
FROM dbo.WeightTable
WHERE (USR_ID = ‘abc’)
AND time > dateadd(day, -20, getDate())

what does this statement do? void (*update)(Blackboard&);?

February 15, 2010 - 4:12 am 2 Comments

im not sure what exactly is "update" but im sure "Blackboard" is a class. does this statement ring any bell for you? for example in below:
class Xclass{
public:
std::string representation;
const ModuleState* moduleState;
void (*update)(Blackboard&)
void (*create)();
void (*free)();
}

class Xclass{
public:
std::string representation;
const ModuleState* moduleState;
void (*update)(Blackboard&); // missing ;
void (*create)();
void (*free)();
}; // ; was missing

your code would not compile like this:
you need to have a forward declaration for
ModuleState and Blackboard (for example) like this:

class ModuleState;
class Blackboard;

In order to instantiate your class you need to have ModuleState and Blackboard defined somewhere in your code.

update, create, and free are pointers to static functions. Please check further down
The following is an application, of static function pointers used in a class:

class CPtr{
public:
// this is a pointer to a static - non-member - function taking 2 ints as parameters
int (*fct)(int, int);
CPtr( int (*)(int, int) );
};

// this is the static function the CPtr member
// it is passed as a parameter during instantiation
// of the CPtr object.
int max(int iA, int iB)
{
return iA > iB ? iA : iB;
}

// this is the constructor, which takes
// one argument, which is a pointer
// to the function, which should be used
// by the object
CPtr::CPtr(int (*Max)(int iA, int iB))
{
fct = Max;
}

int main(int argc, char* argv[])
{
// This is object a, instantiated with the
// function max. The function prototype
// is matching the declared function
// pointer in CPtr
CPtr a(max);

const int iA = 3, iB = 4;
// this is how the member is invoked
cout << "The bigger number between " << iA << " and " << iB << " is: " << a.fct(iA, iB)<<endl<<endl;
}

Why did or didn’t some Texans want to join the Mexican-American war (1845)?

February 15, 2010 - 4:12 am 1 Comment

List at least two reasons why they wanted to join or didn’t want to join, please and thank you. :)
Can you also include a statement that tells the causes of the war?
Thank you to whoever answers<33

1) Defend the territory the Mexicans were invading between the Texans border RIO GRANDE and the Mexican claim of Nueces.

2) Get the Mexicans to stop raiding their cattle ranches.

Could someone get enough information off a bank statement to book something over the phone?

February 15, 2010 - 4:12 am 3 Comments

Looks like someone booked a room in a hotel on my laser card and it was not me!! I didn’t lose my card or anything around the time this happened, so I’m wondering, would it be possible for someone to get enough info from a bank statement or something to book this?

I’ll be going to the bank tomorrow but thought I would just see if anyone here knew.

and REMEMBER: rip up all letters/ any correspondence that is going into the recycling!! :) learn from my stupid mistake!

Not from your bank statement. that is why Shredders were invented

What is a good thesis statement for the Ancient Greek Olympics?

February 15, 2010 - 4:12 am 1 Comment

I need a thesis statement for an essay on the Ancient Greek Olympics, it has to have a support for it, and a reason to debate it. Any help would be very much appreciated, Thank You!

I hope you find this helpful.

Constructing A Thesis Statement:

1.Determine what kind of paper you are writing:

•An analytical paper breaks down an issue or an idea into its component parts, evaluates the issue or idea, and presents this breakdown and evaluation to the audience.

•An expository (explanatory) paper explains something to the audience.

•An argumentative paper makes a claim about a topic and justifies this claim with specific evidence. The claim could be an opinion, a policy proposal, an evaluation, a cause-and-effect statement, or an interpretation. The goal of the argumentative paper is to convince the audience that the claim is true based on the evidence provided.

If you are writing a text which does not fall under these three categories (ex. a narrative), a thesis statement somewhere in the first paragraph could still be helpful to your reader.

2. Your thesis statement should be specific—it should cover only what you will discuss in your paper and should be supported with specific evidence.

3. The thesis statement usually appears at the end of the first paragraph of a paper at which point it is referred to as a thesis sentence.

4. Your topic may change as you write, so you may need to revise your thesis statement to reflect exactly what you have discussed in the paper.

Integrated Review - is it possible to get the variables from one SQL, in a completely different SQL statement?

February 10, 2010 - 7:07 am 1 Comment

Please let me know if its possible to get the variables from one SQL, in a completely different SQL statement. Integrated Review is the tool I am working on.

Several ways you could do this (in most any platform):

1) Create a temporary table and insert values into it based on a query, then use it like any other table in subsequent queries, dropping it when done
2) Use a scripting language to create a cursor and process rows sequentially (if more than one row in result possible) or retrieve the columns into a set of local variables (if only one row would be retrieved)
3) If only a single value would be retrieved from the first query, make it a stored procedure you can invoke from subsequent queries