Forum Replies Created

Viewing 15 posts - 12,766 through 12,780 (of 13,469 total)

  • RE: Create one database, or several?

    On the other hand, if the applications are even slightly related, there's an advantage to having a single, unified schema though...ease of deployment and maintenance, because you need to support...

  • RE: query tuning

    structure wise, if you were to change it all to inner joins, the execution plans would be the same, so there's no speed difference...

    i think this is functionally the same...

  • RE: Random numbers generation SP

    here's an example of random letters:

    select ' C7116A-'

    + char(65 + convert(int, 25 * Rand() + 1 ))

    + char(65 + convert(int, 25 * Rand() + 1 ))

    + char(65 + convert(int,...

  • RE: Random numbers generation SP

    it sounds like you need just a random number of a fixed length, which you are appending to the first 6 fixed characters.

    you already identified that a random number does...

  • RE: query tuning

    a single query isn't too hard to diagnose, but rather than give specific suggestions, let me give you some general hints i think might help.

    the key is to test the...

  • RE: How to setup Parent>>Child>>Child relationship...?

    yes i meant that you had a choice on the naming of a foreign key;

    you can leave the CONSTRAINT CONSTRAINTNAME portion off, and SQL will automatically give it a unique...

  • RE: How to setup Parent>>Child>>Child relationship...?

    here's my suggestions:

    I've added foreign keys to your script im bold below. I've always been taught it's good practice to have the Identity to be the first column of the...

  • RE: Char vs Date comparision...convert(varchar(10),task_date,101) >= convert(varchar(10),GetDate(),101) vs task_date > GetDate()

    i encountered this issue similarly when sorting a  formatted date in a grid; because it is text, it would sour by month, so all the 01/01/200X are together, followed by...

  • RE: speed up this query?

    John thanks for taking the time to explain how UK postal codes work;

    I've only being only exposed to US postal codes, which are all numeric but can have preceeding...

  • RE: Finding unused databases?

    you don't want to actually delete anything, because dev databases might contain the most cutting edge stored proc some developer has been working on or something, so you want to...

  • RE: text field in sql server 2000

    What is the max length of the text field. I saw that  in our system, the length is set up to 17 while the length of the characters is many...
  • RE: Exporting SQL Server data to SQL Anywhere

    there's a few things you should check:

    first off, does "select *from table " return any rows? here we determine that data exists.

    second, could it be that the db is case...

  • RE: MySql vs Sql, Bombay vs Rio

    even mysql says that stored procs are useful, faster and more secure...they also say their implementation of stored procedures is not yet complete...

    for an expert to contradict the database provider...

  • RE: Stripping Data

    this might get you started; LEFT,RIGHT and SUBSTRING functions can be used to get parts of strings.

    note how im checking to make sure that the field is at least 8...

  • RE: Gender Function

    well, it depends on the field you are examine...is the field a "name" field? so you are going thru the data and making a best guess at the gender, or...

Viewing 15 posts - 12,766 through 12,780 (of 13,469 total)