Forum Replies Created

Viewing 15 posts - 4,891 through 4,905 (of 14,953 total)

  • RE: Query to Delete all User defined schemas, roles and users

    You could write one, using various system views, a couple of cursors, and some light-weight dynamic SQL.

    However, I have to question "deleting all user-defined users" in the database. That'll...

  • RE: Are the posted questions getting worse?

    MaricopaJoe (2/21/2011)


    I agree the questions are more basic. But this is due to the business side thinking that 'anyone' that has computer can be a dba.

    Case in point. ...

  • RE: How to read text file into SQL Table

    You could definitely set up a linked server for that.

    I use OpenRowset for that kind of thing, instead. A definition file, that maps out the columns based on the...

  • RE: Best way to set up a reporting server

    That's one of the things replication was designed for, so staying off of that does limit your options. Personally, I use snapshot replication for that pretty routinely.

    One solution I...

  • RE: How to read text file into SQL Table

    I guess it depends on the type and structure of text in the file.

    I generally use OpenRowset for querying text into SQL Server. It's pretty straightforward on structured data...

  • RE: Getting Up To Speed on SQL Server Denali

    I've been reading up on it, and downloaded the CTP to my home computer. (For most small businesses, my desktop computer at home would be a decent server farm.)

    There...

  • RE: Extracting XML FROM a table

    You could use SSIS, but XQuery will be more efficient.

    As well as the link Lutz gave you, MSDN and BOL have a whole section on using XML in SQL Server....

  • RE: 3 part naming in the query

    I just tried a self-referent query on my 2005 and 2008 servers, and it worked in both cases.

    On the 2008 box, select @@servername and see if it matches what you...

  • RE: 3 part naming in the query

    Take a look at your linked servers (sys.servers) on both machines. It looks like the 2005 box has itself set up as a linked server.

  • RE: Help to write a query to calculate # of hours between two records.

    Are you familiar with the DateDiff function? It will calculate the number of hours between dates, with a few caveats.

    Take a look at it in Books Online or on...

  • RE: T-Sql DBA commonly use

    The most common uses are backup management, and index management.

    The maintenance plan backups are okay, but they lack a few bits of flexibility, with regards to doing things like test-restores...

  • RE: Server Name column in Multiserver Results

    Can you insert those results in a temp table and then query that?

  • RE: Extending minimum datetime values

    Or define a user-defined-data-type that'll hold the date range you're looking for.

    Dates in SQL Server are stored as numbers. You could easily extend to bigint for the date part,...

  • RE: Are the posted questions getting worse?

    Grant Fritchey (2/21/2011)


    And this post makes 10,000 points. On to getting 10,000 posts.

    Figured I'd break the threshold on The Thread.

    Grats!

    (For some reason, I keep thinking you were ahead of me...

  • RE: Are the posted questions getting worse?

    Stefan Krzywicki (2/18/2011)


    Brandie Tarvin (2/18/2011)


    Answered. @=)

    Probably not the answer you want to hear, though, Stefan.

    It doesn't matter what answer I want to hear as long as it works. Of course,...

Viewing 15 posts - 4,891 through 4,905 (of 14,953 total)