List: | General Discussion | « Previous MessageNext Message » | |

From: | mos | Date: | December 18 2005 11:36pm |

Subject: | How to Square a number? | ||

View as plain text |

How do I square a number in MySQL 4.1? I thought it would be something simple like: select 3**2 but that produces a syntax error. I can use Pow(3,2) but that produces a float. Is there a Square function? TIA Mike

Thread | ||
---|---|---|

• How to Square a number? | mos | 19 Dec |

• Re: How to Square a number? | James Harvard | 19 Dec |

• Re: How to Square a number? | mos | 19 Dec |

• Re: How to Square a number? | Peter Brawley | 19 Dec |

• Re: How to Square a number? | mos | 19 Dec |

• Re: How to Square a number? | Elmar von Muralt | 19 Dec |

• Re: How to Square a number? | mos | 19 Dec |

• Re: How to Square a number? | SGreen | 19 Dec |

• Re: How to Square a number? | Hugh Sasse | 19 Dec |

• RE: How to Square a number? | SST - Adelaide) | 19 Dec |

• RE: How to Square a number? | mos | 20 Dec |

• RE: How to Square a number? | SST - Adelaide) | 20 Dec |