Forum Replies Created

Viewing 15 posts - 391 through 405 (of 644 total)

  • RE: varchar to nvarchar

    Phil Parkin (2/17/2012)


    VARCHAR takes 1 byte space (on disk) to store 1 character whereas NVARCHAR takes 2 byte space (again on disk) to store 1 character.

    This is not quite...

  • RE: how to fix the orphaned users problem

    gantavasu (2/17/2012)


    How to fix the orphaned users problem in sql server 2008.

    It seems you are asking it for some interview preparation from the way you are asking it 😉

    Please...

  • RE: how to fix the orphaned users problem

    Nice avatar Anthony 🙂

  • RE: Monitor disk space

    jasonmorris (2/17/2012)


    People still use xp_cmdshell :w00t:

    Why not, this is the one that has served us for years & has been exceptional for a DBA in handling things like that :Whistling:.

  • RE: varchar to nvarchar

    Anamika (2/17/2012)


    hi,

    while changing the varchar to nvarchar on my tables to support unicode, do i have to increase the size of the datatype?

    for example to change varchar(40) if i change...

  • RE: TempDb free space

    mohan.bndr (2/17/2012)


    No, I didn't run any heavy query with sorting in my side. may be the users are trying it.... so that case how can we find. Please let me...

  • RE: SEQUENCE of A-101,A102

    pallavi.unde (2/17/2012)


    I am using MSSQL 2008

    I am tried for below ,

    where primary key should be in A101,A102

    Order No Date Product Qty Customer Batch No

    A101 10-Oct-2010 Mac Book 03 John B01

    A102...

  • RE: Please Suggest Me in LogShipping Maintenance Plan

    kranthi.india123 (2/17/2012)


    Thank you,

    You are saying right,but My scenario i can use TRUNCATEONLY Option on logshipping databases,there is mismatch of LSN's ,i.e., main problem LSN's Mismatch

    I would suggest to always use...

  • RE: Please Suggest Me in LogShipping Maintenance Plan

    kranthi.india123 (2/17/2012)


    DBCC SHRINKDATABASE(N'LearningCT', 10, NOTRUNCATE)

    NOTRUNCATE does not return the released free space to operating system & physical size of the file will remain same on the disk. So why do...

  • RE: How to generate new sequence number in sql server.

    1. If you want an auto generated column for your table then you can use IDENTITY property.

    CREATE TABLE TestTable

    (

    IDColumn INT IDENTITY(1,1),

    DataColumn1 VARCHAR(20),

    DataColumn2 VARCHAR(20)

    )

    2. If you want to generate sequence numbers...

  • RE: TempDb free space

    mohan.bndr (2/17/2012)


    But when I try to shrink, I will not get any free space in disk.

    I executed the query below ...

    DBCC SHRINKFILE ('tempdev', 1024)

    eventhough I didn't get free space...

  • RE: TempDb free space

    mohan.bndr (2/17/2012)


    Today I found TempDb size has increased and disk space is very low. I need to get more free space in disk. And I tried to shrink TempDb but...

  • RE: Please Suggest Me in LogShipping Maintenance Plan

    kranthi.india123 (2/16/2012)


    Thank you SSCarpal Tunnel

    Configured log shipping--SuccessFully working.

    so My qustions is?

    If i shrink primary database it will affect log shipping?

    If i shrink mdf it will affect log shipping?

    If i shrink...

  • RE: Difference?

    It is there for reusability. Using the variable is to ensure that the value will not be changed during the execution of the batch (if it is the requirement of...

  • RE: Today's Random Word!

    Paglamolom never came back :Whistling:

Viewing 15 posts - 391 through 405 (of 644 total)