Forum Replies Created

Viewing 15 posts - 3,406 through 3,420 (of 7,429 total)

  • RE: UDF's vs Procs

    UDFs are quite great and have several advanatage factors. However, keep in mind a UDF does not store an execution plan so it loses that advantage as opposed to an...

  • RE: sysobjects.type and xtype

    Actually type is a calculated column which the def is

    (convert(char(2),case when (([xtype] = 'UQ' or [xtype] = 'PK')) then 'K' else [xtype] end))

    Seems to be for compatibility.

    And as for system...

  • RE: Rename SA? (SQL 2000)

    No, just set a long password with odd characters such as $ or other (especially the ALT+number stuff). Brute force and dictionary will be less likely to get thru. I...

  • RE: Protecting Proprietary SQL code

    quote:


    WITH ENCRYPTION works against everyone, including sysadmin level accounts. However, it's not very strong.

    There's a script (I think there's a version in...

  • RE: How do CREATE TABLE statements function?

    Ok here we go, the steps that occurr to create a table with CREATE TABLE statment.

    My example is based on this table DDL

    create table tbl_x (

    idx int identity(1,1) primary key...

  • RE: Indexes

    Can you tell me about the table and the index? It is hard to help when I don't know anything.

    Also, what was the query that did a Scan?

  • RE: Cannot Declare Image Type in Trigger

    Sorry, again no. You cannot CAST TEXT, NTEXT or IMAGE to another datatype.

  • RE: Table Propertis on SQL for row count

    Run DBCC UPDATEUSAGE (databasename) should correct it. See BOL for more details.

  • RE: Cannot Declare Image Type in Trigger

    Sorry no. However, if you have a unique id or pk value you can link the two tables together you can use set without variables.

    UPDATE tbl

    SET cols = cols

    FROM

    querytojoinhistoryandinserted

  • RE: Roles/Views

    No as is currently. The reason is both Person and TaskID has a PersonID field in it. What you need to do is instead of using * list all the...

  • RE: Speed up the Performance of SQL SERVER

    quote:


    What a load of cols...actually very useful, but tell me, have you ever seen a query plan with index intersection happening? ...

  • RE: Should you call Microsoft for support?

    Forutnately I have not had any issues finding the information either online or within the stupid mistake I made, so I have never had to call. I also, know several...

  • RE: Speed up the Performance of SQL SERVER

    Another consideration when using composite index is degree of uniqueness. You should anytime you use a composite index make sure the most to least unique item is the order of...

  • RE: Slow queries on different machines

    I would suggest to confirm what is happening on the box, install Netmon and monitor all incoming and outgoing packets then run the query from that box. Once the data...

  • RE: RAID configuration

    I agree, after some recent updating I would say that due to the fact the logical partitions would in fact be on the same array and channel you will actually...

Viewing 15 posts - 3,406 through 3,420 (of 7,429 total)