Forum Replies Created

Viewing 15 posts - 45,436 through 45,450 (of 49,571 total)

  • RE: Number of Processors(SQL Query)

    Yes, there is. You can use the xp_msver extended procedure. I'm not sure of the security requirements

    exec xp_msver 'ProcessorCount'

  • RE: tempdb growth

    Shrinking a full database is a little pointless.

    Shrink releases unused space to the OS, if a database is full then there is no free space inside it, hence all shrink...

  • RE: security to avoid expand database

    Why are you putting the SQL database onto users PCs? Shouldn't it be on a central server?

  • RE: How to kill a server! DB bottleneck?

    Harish (7/28/2008)


    Your table need to get repaired. If possible then recreate your table. or just run checkDB or dbcc checktable option with repair

    Never run a checkDB or CheckTable with any...

  • RE: How to kill a server! DB bottleneck?

    aj (7/27/2008)


    Hi everyone!

    looping that query and for each record checking for a duplicate, and if its not, inserting it into my table.

    If you're doing that in SQL, there's part...

  • RE: GRANT

    It's usually recommended that no permissions be granted to public. Better way is to create a database role, grant the required permissions to the role then assign the role to...

  • RE: Indexes on large tables

    Since you're doing daily summaries, I might suggest the date combined with a second column as the clustered index. Or I might not. It's hard to say without more info.

    Could...

  • RE: Bug inside my Shrink DB script

    Why are you shrinking your databases in the first place? It is not something you should be doing on a regular basis. They will just grow again as soon as...

  • RE: Deadlocks in subselect

    Sam Peascod (7/27/2008)


    Gail: I agree it seems odd that one transaction is causing the deadlocks. Unless a previous transaction is left open for some reason, I can guarantee that...

  • RE: Regarding extended stored procedure.

    Please ask your DBA (who I assume has sysadmin permissions) to run the xp_cmdshell as requested earlier and see what results you get back.

    With execute as 'sa'

    Grant impersonate on user::'test'...

  • RE: Help with stored procedure

    MrBaseball34 (7/27/2008)


    I'm sorry for the confusion about edit capabilities. I *am* allowed to make changes and it looks like this *breakthrough* is going to be a big feather in my...

  • RE: CPU, READ, WRITE

    Venkatesan Prabu (7/26/2008)


    CPU time will show the amount of time (in milliseconds) taken to execute your query.

    It shows the amount of CPU time spent while running the query. It's not...

  • RE: schema change to be reflected in all code of Store procedures in SQL Server 2005

    On SQL 2005, rather use sys.sql_modules. There's one row per proc/view now, rather than 1 per 4000 character chunk. Makes searching through the code a little easier.

    Steve: Source Control?...

  • RE: Recommended Hardware Specs

    My former company has a number of 64 bit servers, running windows 2003 or windows 2008 and SQL 2005 and they are rock solid. I would not recommend IA64, there...

  • RE: Store procedures create and drop by it self

    Somebody would have dropped them. SQL doesn't drop objects by itself.

    If it happened recently, you can check in the default trace to see if there's any info (default trace is...

Viewing 15 posts - 45,436 through 45,450 (of 49,571 total)