Forum Replies Created

Viewing 15 posts - 1,381 through 1,395 (of 2,010 total)

  • RE: int to date and time.

    Works for me on SQL 2000. What error do you receive?

    To help us help you read this[/url]For better help with performance problems please read this[/url]

  • RE: Cross Tab query

    A bit more sample data and perhaps some DDL would go a long way towards getting you an answer, helping us to help you.

    In the meantime you may want to...

    To help us help you read this[/url]For better help with performance problems please read this[/url]

  • RE: Appending numbers and text

    For a 10 digit phone number, I'm guessing it's already a character datatype and not an int so there would be no need to cast it. You can append...

    To help us help you read this[/url]For better help with performance problems please read this[/url]

  • RE: Appending numbers and text

    Your other option would be to look into using SSIS...

    You could specify a text file datatype and use SSIS to output and transform it however you need. it's very...

    To help us help you read this[/url]For better help with performance problems please read this[/url]

  • RE: Appending numbers and text

    Guess I forgot to answer the original question...

    SELECT cast(col1 as varchar(10)) + CAST (Col2 as varchar())

    For the nulls you could use cast(isnull(col1,'') as varchar())

    To help us help you read this[/url]For better help with performance problems please read this[/url]

  • RE: Appending numbers and text

    The only way to combine all of those types is to get them into a varchar datatype.

    The real question is why do you need to combine the columns?...

    To help us help you read this[/url]For better help with performance problems please read this[/url]

  • RE: int to date and time.

    This is somewhat convoluted, but it should work... though I don't think it would scale terribly well, it should get you moving in the right direction...

    create table #test (

    Date int,

    Time...

    To help us help you read this[/url]For better help with performance problems please read this[/url]

  • RE: int to date and time.

    This should be fairly straightforward, however I do have 1 question for you. The time portion, that looks like it might be the number of miliseconds or some other...

    To help us help you read this[/url]For better help with performance problems please read this[/url]

  • RE: Speed or Value?

    I've never had the opportunity to work in an environment where I've had to squeeze 10 ms out of my code to make a drastic difference. I've always maintained...

    To help us help you read this[/url]For better help with performance problems please read this[/url]

  • RE: DTS Package in SQL 2000. To skip several steps conditionally

    you could have a look at the below link and see if it fits the bill...

    http://www.sqldts.com/214.aspx

    To help us help you read this[/url]For better help with performance problems please read this[/url]

  • RE: DTS Package in SQL 2000. To skip several steps conditionally

    Right, the step never completes so it can't move to the next even using on completion...

    To help us help you read this[/url]For better help with performance problems please read this[/url]

  • RE: problem in installing sql server 2005 in xp professional

    Your problem is here...

    - SQL Server Edition Operating System Compatibility (Warning)

    Messages

    * SQL Server Edition Operating System Compatibility

    * Some components of this edition of SQL Server are not supported on this...

    To help us help you read this[/url]For better help with performance problems please read this[/url]

  • RE: Best Ways to Audit a Production Instance

    If you are looking for worst performers, you might want to take a look at setting up a profiler trace and then reviewing it. Just be careful a) where...

    To help us help you read this[/url]For better help with performance problems please read this[/url]

  • RE: Search Server Logs for Errors/Problems

    You may want to check for certain services starting/stopping as these will mostly be informational alerts. although you could also check that information through wmi or various other means...

    To help us help you read this[/url]For better help with performance problems please read this[/url]

  • RE: EMC Clones or SQL Backups for 100 + GB databases

    More than likely the clones do some sort of compression on the large backup files, which is why something like Redgate's backup product or Litespeed or whatnot may offer some...

    To help us help you read this[/url]For better help with performance problems please read this[/url]

Viewing 15 posts - 1,381 through 1,395 (of 2,010 total)