Forum Replies Created

Viewing 15 posts - 2,266 through 2,280 (of 2,339 total)

  • RE: Purpose of the Snapshot Agent in Transactional Replication

    How about neither, and both?

    For the answer neither, you do not need to initialize a subscription with a snapshot. Do a search on this site for initialize replication wihtout...

  • RE: How do we find who executed which report

    If you query the Catalog table where the content field is null, the Type field, at least on my server, is always 1.

    This indicates that it's a folder.

  • RE: How do we find who executed which report

    How about this:

    SELECT

    C.[Path] as [Report Location], C.name as [Report Name], EL.UserName as [User Name], COUNT(EL.TimeStart) as [Number of Runs], MIN(TimeStart) as [First Run],

    MAX(TimeEnd) as [Last Run]

    FROM...

  • RE: INT or Decimal

    Huh?

    What is the reason to have to do something if it is an integer, and something else if it is not an integer?

    Is the data type of...

  • RE: Fantasy Football 2011

    Can I get in????

  • RE: Export valid xml (no line breaks)?

    michanne (6/20/2011)


    Hi there,

    I am trying to export some xml data from sql server via sqlps. I want it to run in a sql agent job. The xml is generated from...

  • RE: View Permissions

    Steve finished my thought.

    Try to plan ahead. Most entities in a database follow a "pattern" of logical roles. For example, the marketing people probably do not need...

  • RE: View Permissions

    It may be a bit cleaner to add (or create) the Active Directory group that corresponds to the purchasing department to SQL Server, and grant execute to the group as...

  • RE: (Nolock) created blocking?

    I will sound rude, but anyone who calls themselves a DBA and actually recommends NOLOCK is not really a DBA.

    It helps with contention? How about designing good schema and...

  • RE: Normalization

    GSquared (4/27/2011)


    Peter Trast (4/27/2011)


    GSquared (4/27/2011)


    Richard Warr (4/27/2011)


    Nice question and an interesting example. Would renaming the columns "Telephone 1" and "Telephone 2" to "Home Phone" and "Mobile Phone" mean that the...

  • RE: recovery model bulk-logged gives big log file

    For starters, a 29 GB log file for a 60Gb database, considering all of the transactions that are occurring during your refresh, is not "enormous".

    Bulk logged does not always...

  • RE: Replace function

    DDL is "Data Definition Language" Or, in other words, the actual schema of the tables.

    There is a wealth of info on this site. Books On Line is my...

  • RE: Replace function

    This query is long, but the logic makes sense. It appears that you have the logic, but this isn't T-SQL code. The CASE statements are syntactically correct, but that's about...

  • RE: Floats and abuses, and business to technical conflicts

    My advice to you is to drink heavily!!

    I found my self in an almost identical situation. In this case, the floats were a result of the PM using the...

  • RE: Replace function

    Your sample data makes it tough, but here is my shot at it:

    SELECT

    CASE WHEN T1.BUTY = 'AD' THEN REPLACE(T1.SUBTYPE, 'EQUIPMENT P&L', 'OTHER DIRECT COSTS ')

    ...

Viewing 15 posts - 2,266 through 2,280 (of 2,339 total)