Forum Replies Created

Viewing 13 posts - 16 through 28 (of 28 total)

  • RE: Database Size In SQL Server 2005 Express Edition

    Database size limit of 4 GB in sql express 2005 only applies to Data file (.mdf) not for log files (.ldf)

    As per MSDN

    "The 4 GB database size limit applies...

  • RE: About auditing

    Using DDL Trigger is the best option. Create an audit table and an audit trigger on that AuditTable at database level. You can capture all the schema changes in the...

  • RE: How to create Identity Column in a table

    simple example

    create table tablename (

    ObjectID int identity(1,1) not null constraint PK_Tablename primary key,

    column2 int,

    .

    .

    .

    column N int

    )

    go

    Thanks,

    Amit Kulkarni

  • RE: Filtered Index Syntax Error

    I suppose you will have to use the IN clause i.e.

    .....WHERE Col1 = 'xyz'

    AND Col2 in ( 'abc' ,'something' )

    A Filtered Index can not use complex logic in its...

  • RE: Linked server error

    Hi Summit,

    The local user is member of sysadmin role. So i suppose its not the issue with permission.

    Thanks,

    Amit Kulkarni

  • RE: Debugging Permissions

    Hi,

    There is a permission restriction for debugging TSQL in sql server

    1) sql login must be a Windows user account

    2) And secondly that account must be sysadmin role on the sql...

  • RE: problem getting rid of a log file

    shrinking the log file involves following steps:-

    For sql server 2005 version :-

    Use [dbname]

    go

    Backup log[dbname] with truncate_only

    go

    dbcc shrinkfile(2,1) /* shrinking log file (file_id = 2) to 1 MB */

    go

    For sql server...

  • RE: Placement of your FK in a table

    order doesn't matter. you can place it at any order.

    Regards,

    Amit kulkarni

  • RE: Adding a column in middle of a table

    Yes thats right.But i thought there may be an simple query to do that.

    I dont want to use system tables to alter.

    But i have heard in MySQl that this is...

  • RE: Password Encryption in SQl SERVER 2005

    i have already gone through the microsoft article....

    i want encryption by password method.... i dont want to create certificates...

    just creating keys, opening them.. assigning it to column(encrypt it)...

    and finally decrypt...

  • RE: problem with naming default constraint and using it while adding a not null column

    thanks... i was able to get it

    Regards,

    Amit kulkarni

  • RE: T-SQL

    you cannot having columns other than one used in having clause...

    never use select * from tablename when using having clause on one particular column...

  • RE: convert from MM/DD/YYYY to YYYYMMDD

    you can use date Style numbers to convert to different date formats

    here is an example for converting current date to different formats

    select CONVERT( varchar(10), getdate(), 111 )

    ...

Viewing 13 posts - 16 through 28 (of 28 total)