Forum Replies Created

Viewing 15 posts - 406 through 420 (of 582 total)

  • RE: Tables empty, but DB Size out of control

    This is a log shot but try running this to see if any system objects are taking up the space. system objects do not show up on the Disk Usage...

    Bob
    -----------------------------------------------------------------------------
    How to post to get the best help[/url]

  • RE: Possible to have a sql server 2005 instance on a 2008 install?

    One reason to do this is to have tempdb in different compatibility. If you have a user database in 2005 compatibility on a 2008 instance any code using tempdb will...

    Bob
    -----------------------------------------------------------------------------
    How to post to get the best help[/url]

  • RE: How to filter out the string via CHARINDEX?

    I think the issue is, They need to parse out table name even if it is not aliased. If that is not the case please provide expected results.

    Declare @sqlQuery...

    Bob
    -----------------------------------------------------------------------------
    How to post to get the best help[/url]

  • RE: Changing db owner script

    You could try creating a central management server(http://msdn.microsoft.com/en-us/library/bb934126.aspx) an then use sp_msforeachdb 'USE [?]; EXEC dbo.sp_changedbowner @loginame = ''sa'', @map = false'

    Bob
    -----------------------------------------------------------------------------
    How to post to get the best help[/url]

  • RE: Need help to code for different row data

    try using this example to achieve you requirements

    declare @datefrom datetime,

    @dateto datetime

    set @datefrom = '05/30/2007'

    set @dateto = '06/04/2007'

    select DATEDIFF(dd,@datefrom,@dateto)

    Here is link describing the datediff function

    http://msdn.microsoft.com/en-us/library/ms189794.aspx

    also, please read the link in my...

    Bob
    -----------------------------------------------------------------------------
    How to post to get the best help[/url]

  • RE: how to find the package that is updating a specific table

    Are you referring to a SSIS package? If so, I think the the package ID is part of the application name. If it is you run a trace on updates...

    Bob
    -----------------------------------------------------------------------------
    How to post to get the best help[/url]

  • RE: ODBC Connection from my computer to 64 bit SQL Server 2008 Express

    I just checked my local instance of SQL Server Express 2008 R2 and it looks like only Shared Memory Protocol is enabled by default (I dont ever remember changing it)....

    Bob
    -----------------------------------------------------------------------------
    How to post to get the best help[/url]

  • RE: ODBC Connection from my computer to 64 bit SQL Server 2008 Express

    Did you try just typing in the instance name instead of selecting from the list?

    Bob
    -----------------------------------------------------------------------------
    How to post to get the best help[/url]

  • RE: seeing failed rows from bulk insert

    I would look at SSIS. I am by no mean a SSIS guru (novice more like it) but you should be able to use you file as a source with...

    Bob
    -----------------------------------------------------------------------------
    How to post to get the best help[/url]

  • RE: Single vs Dual partition

    a 146 Gig on a RAID 1 --> for OS and

    another 146 Gig on another RAID 1 --> for the DB

    This would be a better setup although this would require...

    Bob
    -----------------------------------------------------------------------------
    How to post to get the best help[/url]

  • RE: Single vs Dual partition

    Splitting a single drive to multiple partitions does not help the performance of a database. What you would want is to have a separate physical drive(s). More spindles = better...

    Bob
    -----------------------------------------------------------------------------
    How to post to get the best help[/url]

  • RE: insert data using dynamic open row set

    One way to accomplish this would be to create a linked server for all servers you would like this SP to run on then create a cursor that will loop...

    Bob
    -----------------------------------------------------------------------------
    How to post to get the best help[/url]

  • RE: is it possible that a table is storaged in 2 FG?

    If it is a partitioned table it can be in multiple File groups, each partition can be in a different file group. I am unsure what info SSMS would give...

    Bob
    -----------------------------------------------------------------------------
    How to post to get the best help[/url]

  • RE: need script to check permission on objects

    You have all the pieces you need in the script provided by Ki Chiang. Instead of individual columns in the select, add them together as a string to create your...

    Bob
    -----------------------------------------------------------------------------
    How to post to get the best help[/url]

  • RE: store procedure result to excel

    try using xp_cmdshell to BCP the results to an XLS file. Excel might complain that it is in the wrong format but should still open the file.

    exec xp_cmdshell 'bcp "exec...

    Bob
    -----------------------------------------------------------------------------
    How to post to get the best help[/url]

Viewing 15 posts - 406 through 420 (of 582 total)