Forum Replies Created

Viewing 15 posts - 48,811 through 48,825 (of 49,571 total)

  • RE: Please help with indexing

    Since you're not using a where, you will get limited improvemetn from indexes. I would suggest, as a first pass, put indexes on the foreign key columns. It may not...

  • RE: Data At Home

    It's going to be my file and database server, as well as a backup site for stuff from my desktop.

    I do computer graphics as a hobby, so I have...

  • RE: Data At Home

    Just bought myself a server, with 4 160GB drives. I'm going to set them up in a RAID 5 array. That will give me a nice total of 480GB on...

  • RE: Text version of Query Plan

    SET SHOWPLAN_ALL ON

    GO

    <your query here>

    You won't get results, just the plan in text format. Then you can use any search function (including the one in management studio/query analyser) to find the...

  • RE: Datatype for calculations

    Using float for financial values is a bad idea. It's an inaccurate data-type and you may well get rounding errors.

    Use either numeric or decimal and set the scale high enough...

  • RE: MS Access as backup database

    I haven't worked with Access for several years, but if I recall, those queries should be executed client side, not server-side.

    Can you please post the exact error, that way maybe...

  • RE: MS Access as backup database

    It's the data source for a form? Is it set as a pass-through query?

    What error are you getting?

  • RE: MS Access as backup database

    OK, that makes a bit more sense.

    Where is that query? Within a report/form/object data source? in a stored proc?

    What's the error that you get?

  • RE: HELP Renamed table for backup but containt follows new name?

    Drop them and recreate with the new name. Constrants (primary key, unique, foreign key) are objects themselves and don't depend upon the tables for their names.

    Your indexes also won't have...

  • RE: MS Access as backup database

    I have attached an access database to my SQL Server 2005 as a backend

    Please clarify what you mean by this. SQL Server is a backend database already. Do you mean...

  • RE: Help with easy View

    Where the item no doesn't start with RA, or some other field. I'm assuming the first. If it's another field you want to filter on, then replace Item_No with that...

  • RE: t-sql to return logged in users for the week

    SQL does not keep any form of log of logins, unless either the option to log successful logins to the error log is checked, or the server has c2 auditing...

  • RE: Monitor changes to table column names

    That's interesting.

    I'll take a look this weekend, if I get a chance, see if I can find a way to trigger it.

  • RE: Monitor changes to table column names

    Are you sure a DDL trigger won't tell you? Changing a column name is an alter table statement, so it should get caught by a ddl on alter table.

     

     

  • RE: index once with 2 keys or have 2 indexes with each key ? Confused

    As Lynn said, if depends on how the table is queried. If most of your queries filter on CompanyID alone, or LocationID alone, then you will want two indexes. If...

Viewing 15 posts - 48,811 through 48,825 (of 49,571 total)