Forum Replies Created

Viewing 15 posts - 12,361 through 12,375 (of 13,465 total)

  • RE: How to migrate clipper database to sql 2000

    from what i remember Clipper was just a Visual Foxpro, right? so it's simply a .DBF file you connect to using dts and import the whole thing:

    Enterprise Manager, Select database...Right...

  • RE: Restricting rights to Query Analyzer only

    you can restrict access to executables and such via NT permissions and Active directory.

    Once connected, unless you restricted his access to some objects, he's pretty much got access right?

    if he...

  • RE: Querying the max row length

    creating and deleting replys, it looks like from my forum emails.

  • RE: Trigger lock hint

    Serg is right; what is your trigger doing? Is it calling a stored procedure or something ?Is it using spOACreate/xp_cmdshell? trying to email something? does it declare a variable? does...

  • RE: SQL Syntax for newbie...

    not sure which programming language you are using, but having a recordset/datatable with Userid, RoleId and RoleName might be more flexible;there might be other items you'd want handy in the...

  • RE: SQL Syntax for newbie...

    I would return a recordset/datatable of multiple rows instead, if it were me;

    something like

    ]SELECT UserRoles.UserId,UserRoles.RoleId,UserRoles.RoleName from UserRoles where UserRoles.UserID In (SELECT UserId from Users where UserId=12)

    Or

    SELECT UserRoles.UserId,UserRoles.RoleId,UserRoles.RoleName from...

  • RE: Where is your sessions Current DATEFORMAT hidden

    doh so simple; thanks noeld

  • RE: RBAR to Set Based Solution; for the honour and the glory.

    still looking at the problem, but here's the DDL I created for testing:

    SET DATEFORMAT dmy

    DECLARE @Sample Table(Account varchar(30), Product varchar(30), StartDate datetime,EndDate datetime,Bonus int)

    INSERT INTO @Sample

    SELECT '20943','A','26/01/2005',NULL,10 UNION

    ...

  • RE: Cursor Errors

    select * from master.dbo.sysmessages where error = 16945

    select * from master.dbo.sysmessages where error = 16937

    select * from master.dbo.sysmessages where error = 16954

    error = 16945: The cursor was not declared.

    error =...

  • RE: Newbie: Copy database but not tables

    because you don't want to overwrite the database, it's much more difficult. foreign keys for tables may bite you in the tailfeathers.

    this is what I would do:

    restore a copy of...

  • RE: Table size based on the structure of the table (very urgent)

    take a look at this thread:

    http://www.sqlservercentral.com/Forums/Topic385732-9-1.aspx

    it has solutions for the defined size you are looking for, as well as MarcusB's solution for the largest row in the table, and finally...

  • RE: equivalent column in sql server 2005 for cdefault column of syscolumns table

    yep already created view for you. try

    SELECT * FROM INFORMATION_SCHEMA.COLUMNS

    you'll see it has the definitions for all the columns int he database, including what that default value is.

  • RE: Analyzing a T-Log, problems

    well WITH TRUNCATE_ONLY would truncate the log, but that's only whent he backup occurs.

    if you restored it locally, made sure it was set to Full, and then updated a...

  • RE: Analyzing a T-Log, problems

    the server is local or remote from where you installed SQL Log Rescue? i know you have to install the extended stored procedures on each instance you want to use...

  • RE: Analyzing a T-Log, problems

    in order to use SQL Log Rescue, the database Recovery Model Option had to be set to "Full" and not "Simple" prior to the UPDATE event occurring. Check the properties...

Viewing 15 posts - 12,361 through 12,375 (of 13,465 total)