Forum Replies Created

Viewing 15 posts - 946 through 960 (of 1,222 total)

  • RE: Query to sum the same field twice in the select statement

    Well, if the transaction table has all of the transactions you are able to calculate the closing balance for any date. If, for some reason the transaction table is...

  • RE: Query to sum the same field twice in the select statement

    The following should produce what you are after

    CREATE TABLE MoneyTrans

    ([Id] [bigint] NOT NULL,

    [TransDate] [smalldatetime] NOT NULL,

    [TransName] [varchar](30) NOT NULL, -- CAN have values 'Deposit' / 'WithDraw'

    [Amount] [money] NOT NULL...

  • RE: SQL Server 2000 Replication Problem

    The replication agents run in the security context of SQL Server Agent. The account used for SQL Server Agent must have permission to read from the share that is...

  • RE: SQL Server 2000 Replication Problem

    It is not you that is connecting to the remote server - it is SQL Server Agent. SQL Server Agent is running as account "localsystem" (you can see this...

  • RE: SQL Server 2000 Replication Problem

    Has this setting changed recently ? For it to take affect, a restart of the SQL Server service is required

  • RE: SQL Server 2000 Replication Problem

    The usual reason for the message

    Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection.

    is because the server you are trying to connect...

  • RE: SQL Server 2000 Replication Problem

    When you are configuring replication, Enterprise Manager checks whether SQL Server Agent is running because it is used to run each of the replication agents.

    The user who is...

  • RE: Recovery Modal

    The recovery model is in Master..sysdatabases (column Status).

    Personally, I prefer to use the function DATABASEPROPERTYEX - less fiddling with bit masks and it is more intuitive.

    e.g. SELECT DATABASEPROPERTYEX...

  • RE: about analysis service

    SQL Server and Analysis Services are completely independent services and do not share any settings.

    If you need to change the memory used by Analysis Services, you can do this using...

  • RE: average disk queue length

    Your average disk queue length is a serious cause for concern. There is a huge i/o bottleneck. I am not at all surprised that your customer is complaining....

  • RE: small issues with text qualifier plz help me

    Text qualifier are used to explicitly delimit the data in a column where it is possible for the column to contain the character used as the field delimiter.

    e.g....

  • RE: Finding IP through T-SQL

    The connections are being made by your web server. Hence, regardless of how you get the IP Address, you will end up with the IP Address of the web...

  • RE: To all developers/DBAs who telecommute

    For what it is worth, even when I am working in the office, it can feel like no one notices you. I don't whether it is open plan offices...

  • RE: Will this design scale?

    The numbers you quote seem OK to me. It really comes down to what the application is doing and what implications exist wrt reporting off the same database.

    If the...

  • RE: How do I create a sort column when inserting data into a temp table?

    You are sorting on a different column (b.somecolumn ) to the column that you are expecting to be ordered 1, 2, 3, 4 (which is sort_order).

    Loosely, the way that...

Viewing 15 posts - 946 through 960 (of 1,222 total)