Forum Replies Created

Viewing 15 posts - 8,641 through 8,655 (of 14,953 total)

  • RE: Are the posted questions getting worse?

    GilaMonster (8/19/2009)


    GSquared (8/19/2009)


    Or video it, and review the video yourself. It's amazing what you'll note when you watch yourself in action. Sounds narcisistic, but it's really useful.

    Do that...

  • RE: Alert When Job Is Cancelled

    All the job data is in the msdb database. I haven't used SQL 2000 in a couple of years, so I'm a little rusty on where to look, but...

  • RE: Remove trailing characters of a field in a view

    You're welcome.

  • RE: Importing Flat text file

    The screen shot looks correct.

    If that's not doing what you need, then there's something about the file that isn't matching up. Perhaps the code page?

  • RE: Need T-SQL statement which will remove "n" spaces

    Yes. Depending on the complexities, we can come up with all kinds of ways of removing various patterns of strings from other strings.

    I still think my first suggestion of...

  • RE: Do DBA's (SQL 2008) need to know T-SQL

    It sure helps.

    A lot of what you'll do in administration can be done more efficiently with T-SQL scripts than it can through Management Studio's GUI. Some things need to...

  • RE: New Datetime datatypes???

    The query I wrote will give you the hour without the minutes on the ones you want that way.

    It also handles last year the way you asked.

    You don't need to...

  • RE: Need advice

    SSIS could definitely be used to smooth out the import process and make it more self-correcting.

    On integrating the dev and production servers, the easiest way to do that is to...

  • RE: Are the posted questions getting worse?

    GilaMonster (8/19/2009)


    Grant Fritchey (8/19/2009)


    Did you get any constructive criticism? That's the stuff I live for, when someone actually has useful insights, not just "You did great" or "You stink."

    Nothing really...

  • RE: Login failed for user

    You get a DBA and a Domain Admin to look at what he was logging in to and what rights he has, and they will fix it for you or...

  • RE: New Datetime datatypes???

    This will get you the data:

    declare

    @BeginDate datetime,

    @LastBeginDate datetime,

    @ConcludeDate datetime,

    @LastConcludeDate datetime;

    select

    @BeginDate = dateadd(day, datediff(day, 0, getdate()), 0),

    @ConcludeDate = dateadd(hour, datepart(hour, getdate()), dateadd(day, datediff(day, 0, getdate()), 0)),

    @LastBeginDate...

  • RE: questions on white papers

    It depends on what you're looking for. Most of the white papers I use on those are on the MSDN site.

  • RE: How to create text file and push them into ftp site.

    Yes, that can be done in SSIS. It doesn't need a script task.

    You would use a Data Transformation task to output all of the text files. You'd need...

  • RE: Update Multiple Columns From Subquery

    You do that with Update...From in T-SQL.

    Would look like this:

    update cust -- use the alias for the target table

    set OID = OID_ACTUAL, FCID = FCID_ACTUAL

    from myschema.customers cust -- alias the...

  • RE: How to update production tables with the changes in the development tables?

    There are tools that can do that for you, like Data Compare (RedGate) or SQLDiff (ApexSQL).

    Otherwise, you're going to have to write a query that compares the data in the...

Viewing 15 posts - 8,641 through 8,655 (of 14,953 total)