Forum Replies Created

Viewing 15 posts - 31 through 45 (of 66 total)

  • RE: Converting rows into columns

    Thanks Camilo

    I will work through it and let you know what my outcome is.

    Thanks alot!!

    Anchelin

  • RE: Converting rows into columns

    Hi John

    Not really, but I'm on google now. Is there perhaps another site that can give me a broader explanation on PIVOT function? Please?

    Here's my script for my table:

     

    CREATE TABLE...

  • RE: TOP 1000.....

    I can't do summary on Server A, thats our MOM Reporting Server...

    And the 'summary' is taking forever to query...

    The SMC_Instance_ID starts at 10088422.... all have unique ID's like 2084920 or...

  • RE: TOP 1000.....

    OK...

    I have to retrieve this data fom another server into a table on another server, then I have to summarise this data; its for Performance purposes...

    'SMC_InstaceID' is the unique key (primary...

  • RE: TOP 1000.....

    I don't have a unique key, because all the rows I retrieve are something like 'ComputerName', InstanceName', etc... I can add another column to get the results, like 'CounterDetail_FK'

    But how...

  • RE: Sum or aggregate operation......

    I did exectly as you said and when I did the import gave me an error:

    TransformCopy 'DirectCopyXform' conversion error: Conversion invalid for datatypes on column pair6 (source column 'Col006'(DBTYPE_STR) destination...

  • RE: Sum or aggregate operation......

    So... make my first five columns varchar and my other columns???

    Also what length should I give my columns?

    Thanks for your help so far!

    Anchelin

  • RE: Sum or aggregate operation......

    Hi

    No... I created a table with 256 columns, the same as CSV file...

  • RE: Sum or aggregate operation......

    Hi

    the rows:

    CTSAPP01.engenoil.net Buffer %rcache 2-Feb-07
  • RE: Sum or aggregate operation......

    I created the table, right click on table, all tasks, import, and followed the steps....

  • RE: BULK INSERT

    Hi

    Thanks...

    I used the wizard to completes this task. When I ran the package, it gave me the error:

    Too many fields defined.

    It copies the data(256 cols) from the Excell spreadsheet and populate...

  • RE: BULK INSERT

    Hi

    Thanks for the reply... I do have found another way of importing my spreadsheet; via DTS...

    The problem I have is that my spreadsheet has 256 columns and the max...

  • RE: Query

    Can you perhaps show me how to do this? I'm new with T-SQL.

    Please

    Anchelin

  • RE: Query

    Hi

    Yes, I have a datetime column in my table

    Anchelin

  • RE: Query

    Hi All

    I manage to get this done, but have another problem though. I have the following:

    Declare @FromDate datetime

    Declare @TodayDate datetime

Viewing 15 posts - 31 through 45 (of 66 total)