Forum Replies Created

Viewing 15 posts - 706 through 720 (of 1,048 total)

  • RE: SELECT All Columns from a table - without re-engineering if table stucture changes

    If the intention of the query is to return most if not all of the columns from the table, and the order nor the exact number is important to the...

  • RE: Can't Drop Schema

    give ownership of the object to someone else or drop the object.

  • RE: Efficient way to run count

    This would be the fastest:

    select

    ORDEREDCount = sum(case when ORDERED=1 then 1 else 0 end),

    CATALOGUEDCount = sum(case when CATALOGUED=1 then 1 else 0 end),

    PRINTEDCount = sum(case when PRINTED=1 then 1 else...

  • RE: Job Scheduling

    This may be a job for service broker. Earlier steps result in a message (or messages) being placed in a service broker queue and the subsequent steps are processed...

  • RE: Which query is better?

    having a choice I would tend to favor the second version. It has the potential (depending upon table structure) to be faster.

  • RE: Connection Errors

    I assume both of these SQL server instances are not named instances (they are using the default: name of the machine). Have the servers they are running on been renamed?

    You...

  • RE: Take fullbackup if new database has been created

    I think it would be good practice to always do an initial full backup on a database as a part of the creation procedure. If for some reason you can't...

  • RE: VB.Net or Not

    VB is a language a lot of people use or have used but it has contributed to more poor programming techniques and software in general over the years (in my...

  • RE: Need an alternative for a like

    hehe yeah. The early internet days... when there were no hackers... credit card numbers you entered on straight http forms got sent back to the server as a...

  • RE: Need an alternative for a like

    What company do you work for? I want to make sure I don't buy anything from them with a credit card....

  • RE: OUTPUT SELECT RESULTS TO INCLUDE COLUMN HEADERS

    Yeah, well the solution I finally adopted was to write a little .NET program that generates csv files. Its a command line driven utility (so you can use it in...

  • RE: OUTPUT SELECT RESULTS TO INCLUDE COLUMN HEADERS

    use a stored procedure instead of a select and have the stored procedure return a result set that includes the column names.

  • RE: Hardware Specification or Proposal Document

    Take a look at some of the white papers out there they usually have a basic format you can use.

    My advice is to follow the general guidelines of having...

  • RE: Multiple Active Recordset

    MARS is available to .NET provider and SQL Native Client as I stated. You need to enable it in the connection string, and your application code must be written so...

  • RE: HAS_ACCESS help

    You will have to query the sys.sysusers table in _each_ database to determine if the particular user has access. This is further complicated by the fact that the login can...

Viewing 15 posts - 706 through 720 (of 1,048 total)