Forum Replies Created

Viewing 15 posts - 1,606 through 1,620 (of 3,232 total)

  • RE: SP to do INSERT or UPDATE w/o loop or cursor

    Use COALESCE.

  • RE: Insert data from one table to two tables

    Just a quick note, you can't have a Primary Key constraint on RecordID in your Address table if you plan to allow for a Customer to have multiple Address rows...

  • RE: Query for latest revision

    scott.owen (8/13/2008)


    Hey, that was so fast it was scary. I substituted the PK with my values and it seems to work great. Thanks again!

    -Scott

    What else could we expect from The...

  • RE: SP to do INSERT or UPDATE w/o loop or cursor

    I think you'll still get that ability with what Lowell's suggesting. Your token transaction history will still be kept in the DownloadOrders table. The view simply queries the...

  • RE: Restoring to different server

    --Restore the headers so you can get the logical file names

    --from the original DB. You'll need these later.

    RESTORE FILELISTONLY

    FROM DISK='Your backup file/path here'

    --Use the logical file names from above...

  • RE: Which index will be used

    Huh, there you have it. I was pretty certain that it would go with the first, but I didn't want to rule out #2. I am surprised, though,...

  • RE: Linked Server Pros/Cons over Seperate DB's

    Well, think about a federated server model where you've got identical copies, in terms of schema, of databases on multiple physical servers to spread the processing load out over the...

  • RE: Need Help in SQL 2005 performance Tuning

    Mike,

    Gail's advice is solid, as usual. I would follow what she's suggested to a T. As far as your SQL Server service account, you should generally run...

  • RE: Logins and Users

    Well, just think of the case where you have multiple databases on a server. You may want to limit a login's access to which databases they can access. ...

  • RE: Linked Server Pros/Cons over Seperate DB's

    It kind of depends on the data. In many instances, the data represents 2 different logical sets of data; hence, you have 2 databases. The reason for using...

  • RE: Which index will be used

    Again, probably the first one, but the only way to know for sure is to run it and check the plan. The first index seems redundant because it is...

  • RE: Logins and Users

    Each user must be tied to their own login. Think of it as 2 seperate levels of security passthrough. A user must have a login set up at...

  • RE: Checkpoints and Performance

    1. As we've discussed, at a checkpoint, SQL Server writes all dirty pages to the disk. Dirty pages are pages where data modifications have been made but not committed....

  • RE: HELP! IF table data in both tables....

    kipp (7/10/2008)


    yep... below is what i get:

    (3 row(s) affected)

    (3 row(s) affected)

    KeyID

    --------------------

    22222.001.01

    (1 row(s) affected)

    Kipp, you're still stuck on this? Based on the mock up that I did,...

  • RE: SQL Q.

    They may produce the same results, but they are different. The first query is checking the variable values for an explicit value while the second query is looking at...

Viewing 15 posts - 1,606 through 1,620 (of 3,232 total)