Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. puterkrazy

    help with spawn

    yeah, that's what i meant, that doesn't work...
  2. puterkrazy

    help - spawn

    how do you spawn a dqy file? _spawnlp(P_NOWAIT, "dqyfile.dqy", "dqyfile.dqy", NULL) gives an error -1. Thanks in advance.
  3. puterkrazy

    help with spawn

    help with spawning a dqy file? _spawnlp(P_NOWAIT, "dqyfile.dqy", "dqyfile.dqy", NULL) gives an error -1. Thanks in advance.
  4. puterkrazy

    spawn

    Can someone help with spawning a dqy file? _spawnlp(P_NOWAIT, "dqyfile.dqy", "dqyfile.dqy", NULL) gives an error -1. Thanks in advance.
  5. puterkrazy

    SQL - transferring data to another database

    Arles thank you, that was a good idea. Unfortunately the SQL code creates the create table without the server specified! Ugh! The databases are on different servers...
  6. puterkrazy

    SQL - transferring data to another database

    I am still getting the following error: Server: Msg 117, Level 15, State 1, Line 3 The object name 'server.db.dbo.' contains more than the maximum number of prefixes. The maximum is 2. help please!
  7. puterkrazy

    Create Table help

    nope, i got an incorrect sytax near '\' any other ideas?
  8. puterkrazy

    Create Table help

    I need to do this programmatically.............
  9. puterkrazy

    Create Table help

    Well I am able to create a table on a database on a linked server by using that without the server specified. The problem occurs when there is a database on each server with the same name and it uses the database on the current server instead of the linked. So it is possible to create a table...
  10. puterkrazy

    Create Table help

    I need to create a table on a database on a linked server... I get the following error when specifying the server: create table server.db.dbo.test_table ( col_test char(10) ) Server: Msg 117, Level 15, State 1, Line 2 The object name 'server.db.dbo.' contains more than the maximum number of...
  11. puterkrazy

    SQL - transferring data to another database

    how can i create a table on another server?
  12. puterkrazy

    Creating table in different db

    I am trying to create a table in another database, why am i getting this error and how can I avoid it? Thanks! create table dbsrv.db.dbo.table_name ( col_test char(10) ) The object name 'dbsrv.db.dbo.table_name.' contains more than the maximum number of prefixes. The maximum is 2.
  13. puterkrazy

    single_user/multi_user question

    Ok it seems that adding 'WITH ROLLBACK IMMEDIATE' gets it to work correctly? So I have another question.... this statement will only work with SQL 2000, what to use for SQL 7? sp_dboption will not kill current users and you cannot use it if more than one user is in the system at that time...
  14. puterkrazy

    single_user/multi_user question

    The following should kill all SQL users and allow only a single user: ALTER DATABASE db SET SINGLE_USER For some reason this runs forever and ever and does not seem to stop and I have no idea why. ALTER DATABASE db SET MULTI_USER only takes a second to run. I need this to work on SQL7 and...
  15. puterkrazy

    Kill user connections

    I get this error: Database state cannot be changed while other users are using the database 'db'
  16. puterkrazy

    Kill user connections

    so does setting to SET_SINGLE_USER autmatically kill all other user connections?
  17. puterkrazy

    Kill user connections

    thanks, i looked at this but it is more involved than what i am looking for. is there a simple command to kill all users on a database?
  18. puterkrazy

    Kill user connections

    How can you programatically kill all SQL user connections using SQL?

Part and Inventory Search

Back
Top