User Profile

Collapse

Profile Sidebar

Collapse
nav mac
nav mac
Last Activity: Feb 16 '12, 11:17 PM
Joined: Dec 8 '11
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Thanks a lot rabbit. I figured out that the query has many AND conditions , not contains conditions even if they are not necessary in that criteria....so got rid of them. Now my query just takes few seconds for the execution.

    Thanks once again.
    See more | Go to post

    Leave a comment:


  • nav mac
    started a topic creating an insert update trigger in sql

    creating an insert update trigger in sql

    Hello all,
    I have a select query which uses many lower() functions and due to which the performance and the execution speed of the query is real bad so I want to add an
    additional column to hold a lowercase version. Say,my column name is "colname". The new column "lower_colname" . I should Set
    up an insert-update trigger that sets lower_colname = lower(colname).
    Then set up the index against "lower_coln ame"...
    See more | Go to post

  • Automating Sql(2008R2) backup/Restoration process

    Hello All,



    I have 6 db's to be backed up and restored every week and i want to automate them,can anyone help me out how do I acheive this? Please guys I have deadline tomorrow.
    See more | Go to post

  • Thank you NeoPa,but in my case I can't trunacte via log file as its replicated.hmmm .
    See more | Go to post

    Leave a comment:


  • nav mac
    started a topic Sql Transaction log for database is full

    Sql Transaction log for database is full

    Hello all,

    when I attempt to run a process against the database, I received transaction log for database is full error(sql 2008 r2),we know its because this database has replication subscriptions with two other systems(DB size-5 Gig with an unbelievable 145 Gig Transaction Log) but not sure how to fix this. We can't even run dbcc shrink as db has replication. There's not enough space on the drives to back it up too, thought durintg...
    See more | Go to post

  • nav mac
    replied to How to send tables as XML files?
    Thank You so much. That really helped.
    See more | Go to post

    Leave a comment:


  • nav mac
    started a topic How to send tables as XML files?

    How to send tables as XML files?

    Hello,

    how can i send db tables as an xml format to my customer.
    In ssms there is an icon as 'Results to file' & when i right click on this i checked(checkbo x) on XML Editor but my o/p window is empty. how can i acheive this ? can anyone please help me out in this regards.

    thanks,
    nav
    See more | Go to post

  • nav mac
    replied to Sql database
    Hello,

    how can i send db tables as an xml format to my customer.
    In ssms there is an icon as 'Results to file' & when i right click on this i checked(checkbo x) on XML Editor but my o/p window is empty. how can i acheive this ? can anyone please help me out in this regards.

    thanks,
    nav
    See more | Go to post

    Leave a comment:


  • nav mac
    replied to Sql database
    Okay thank you rabbit...I understand now. you have been so much helpful...thnx a ton
    See more | Go to post

    Leave a comment:


  • nav mac
    replied to Sql database
    Oh okay so I cannot import sum of the columns as is to the database tables. I understand now. Thank you soooooooooooooo o much for your help. I have one more question rabbit, I can sum the columns of a table thru a query and add that sum column in the table right. Please correct me if iam wrong.

    Once again thank you so much.....
    See more | Go to post

    Leave a comment:


  • nav mac
    replied to Sql database
    Thank You so much for your reply rabbit,apprecia ted.

    I have imported the data from excel to sql table but there are some excel files in which column M is the sum of columns H,I,J,K,L . So if I want the same functionality to be imported to sql how can i acheive it. I need Grand Total column at the end and a total row at the end of the rows how can i do this??????????? ????? please help me out , iam really new to this and iam so much...
    See more | Go to post

    Leave a comment:


  • nav mac
    started a topic Sql database

    Sql database

    I have columns H,I,J,K,L,M in excel and a column M is the sum of (H,I,J,K,L)in excel but if I want to import the excel data to SQL how can I acheive this functionality.
    Also for each of the columns H through M ,I need the total at the end.

    eg: H I J K L M
    t1 t2 t3 t4 t5 (t1+t2+t3+t4+t5 )
    tt1 tt2 tt3 tt4 tt5 (tt1+tt2+tt3+tt 4+tt5)
    ............... ............... ............... .....
    See more | Go to post
No activity results to display
Show More
Working...