Forum Replies Created

Viewing 15 posts - 49,021 through 49,035 (of 49,566 total)

  • RE: Nested values in a table

    Hmmm, that's going to be one messy query.

    Let me think about this....

  • RE: SQL Efficiency Help

    Sum ignores nulls. If you sum a column that contains nulls, you'll get the total of the non-null values and a warning saying null values were eliminated due to aggregation.

    The...

  • RE: Nested values in a table

    Ok, a bit better.

    so...

    z  a

    x  z

    y  x

    if I ask x, I'll get a

    if I ask y, I'll also get a

    Is that right?

    Is there any limit on how deep...

  • RE: Nested values in a table

    How do you define 'latest'? Do you have a date or timestamp somewhere in there or some other way to order the records?

    If the table has

    y  a

    x  a

    x  y

    a  c

    y ...

  • RE: Blocking on a heavily updated table

    Can you post the table structure please, columns, constraints, current indexes. also if possible, the update statements that run.

    Thanks

  • RE: data types default values

    Why two columns? Tis a much better design to have a single column that stores the current datetime.

    Getdate retuns the current date and time to an accuracy of 3 ms....

  • RE: Security of the database

    Remove builtin\Administrators from the sysadmin role. Make sure that you have another admin account before you do that. Make sure that the sa login has a strong password.

    It won't stop him from...

  • RE: Splitting database into seperate files

    I wouldn't personally think more than about 10-20% from just splitting the files. Now if you're moving to faster disks as well, you'll get an increase from that as well.

    We're...

  • RE: Splitting database into seperate files

    It depends on whether the data required for the join is in memory or on disk. If both tables are in memory, then there will be no gain (because no...

  • RE: Splitting database into seperate files

    I forgot to mention, we've currently got three filegroups, clustered indexes in 1, nonclusters in the second and some of the tables text images in the third and we're looking...

  • RE: GUID Primary Keys

    Yup, I've got a system just like it. GUID primary keys all with clustered indexes. However I've got just over a thousand tables.

    How I've approached it is to change the...

  • RE: Security of the database

    It is possible for anybody to copy the mdf and ldf files of a database, copy it on another machine and have complete access over it

    If users have access to the...

  • RE: Working More?

    I'm mostly working less than 5 years ago.

    5 years ago I was a senior developer at a small development company. It was the norm to get in before 8,...

  • RE: Advertising

    The only problem I have with the page peel is that from time to time it throws a flash error and crashes IE. Some days it takes 3 or 4...

  • RE: how convert float to nvarchar

    the reason is i want to use the floating point value to be my unique key in the format of nvarchar

    Why? If you want to use the current date as...

Viewing 15 posts - 49,021 through 49,035 (of 49,566 total)