Create tables insert something inside and then connect my application to db

thank you to be patient with me. ok since the beginning I think I have learned a lot with the people responses. so my database is mounted now. I used the cmd.exe command line. i have create an instance, a service, and the database. Now, I need to do two things:create tables inside of my database and insert something inside but I only have the sql script (I will add it at the end of the thread).it is just a part of my huge script.. but this cript can not be open with the command line. So I want to know if you could help me change some stuff inside in the aim to run this script with the command line.that's the first point
secondly, I have an application named lifetrack. i want to connect this application with my database. so how can I change my settings file to be able to do that?(I will add the settings file I have at the end.It is the one I use for sql server). thanks a lot.I'm a french student so I try my best to answer you in a good english. and believe me if I have the exact way to create table,insert something inside like indicate in the part of my script and connect an application to the database you will never see my thread again. thank you
1) sql script to create tables
CREATE TABLE [admin_table] (
     [Can_highlight] [float] NULL ,
     [User_name] [nvarchar] (30) COLLATE Latin1_General_CI_AS NULL ,
     [User_passwd] [nvarchar] (10) COLLATE Latin1_General_CI_AS NULL ,
     [User_group] [nvarchar] (30) COLLATE Latin1_General_CI_AS NULL ,
     [Can_consolidate] [smallint] NULL ,
     [Can_edit_autorpt] [smallint] NULL ,
     [Can_edit_disturbance] [smallint] NULL
) ON [PRIMARY]
GO
INSERT INTO [admin_table] ([Can_highlight],[User_name],[User_passwd],[User_group],[Can_consolidate],[Can_edit_autorpt],[Can_edit_disturbance])
     VALUES (1.0,'A Andrews','A','both',0,0,1)
GO
2) sql server settings file
' NOTES:
' ======
' The parameters in this file are used to specify the following configuration features for the system
' 1. the plant profile
' 2. the default database as well as the available searchable databases
' 3. the paths for accessing particular files used or generated by the system
' The Panels Configuration Mode has either of two values: "Embedded" or "External". It is a setting that determines
' whether the system loads configuration data for the sections of subjects buttons, which are already embedded
' within it, or whether it loads them from the external file:
' "Lifetrack Subjects Panel Configuration.dat"
' The System Database is an index value (zero-based) that determines which of the listed available databases
' is the main active one. In the DATABASES section, the parameters in each comma separated string
' designate the following (in this order):
' DB Index, DB Name, DB Type, DB Filepath, Server Name, Username, Password
PLANT SUBJECTS PANEL:
Panels Configuration Mode: Embedded
DATABASES:
System Database: 0
Available Databases: 1
0,abc_plant,SQL-Server,SQLSERVER_DATABASE,(local),sa,password
FOLDERS:
Saved_Log_Folder: .\
Saved_NOB_Folder: .\
Saved_Log&NOB_Together_Folder: .\
MICROSOFT OFFICE PATHNAME:
Pathname: C:\Program Files\Microsoft Office\Office11\

Yet another thread and yet another cut & paste job.

Similar Messages

  • Can I use my iphone5 to create a hotspot and then connect a device that requires a ethernet cable to a lan(router) this router obviously needs to use my hotspot to connect?

    I need to setup Solar inverters remotely some times and I am looking to see if there is a way to use my iphone to connect the inverter to the internet.  My thought is to create a hotspot and then connect the inverter to a router(it has a ethernet cable that can plug into a lan)  The router is then connected to my iphone.  So something similar than a dongle I suppose?

    If you're wanting to share your hot spot with a device that requires an Ethernet connection, you need a device that can connect to Wi-Fi while providing access to that connection via Ethernet.  One idea might be to configure an AirPort Express to serve as a Wi-Fi extender of your hot spot, and plug the solar inverter to the Ethernet port on the Express.

  • If i create a new itunes on a new computer and then connect my iphone to it will it clear my phone or simply copy all apps and items to the new itunes?

    If i create a new itunes on a new computer and then connect my iphone to that computer will it clear my phone or simply copy all apps and items to the new Itunes?

    Do not create a new iTunes account... accounts cannot be merged.
    Install iTunes on the new computer.
    Syncing of iDevices does not import content to a computer, the sync is one way from computer to iDevice.
    Moving iTunes Library: Mac
    Moving iTunes Library: Windows
    Moving iTunes Library: External Hard drive

  • How to set up 6th Generation AirPort Extreme to cable modem as a wireless router and then connect my 3rd Generation Time Capsule to AirPort Extreme as a wireless extender?

    What is the best way to set up my 6th Generation AirPort Extreme (A1521) to my cable modem as a wireless router and then connect my 3rd Generation Time Capsule (A1355) to my AirPort Extreme as a wireless extender? I live in a small 1 story house and I currently have the Airport Extreme connected to my cable modem in the living room and the Time Capsule plugged into the wall in my bedroom. I am able to wirelessly connect to the internet using the AirPort Extreme as my router and I can also do wireless back ups to my Time Capsule. My problem is that my connection seems to be really slow! My 1TB Time Capsule back up is only half way complete and it has been 3 days! My computer has been backing up all day and night for almost 72 hours and its still not even 75% complete. I have backed up to this Time Capsule in the past and it never took this long. I am thinking that when I set up my AirPort Extreme and Time Capsule using AirPort Utility I must have set it up incorrectly or something.
    How do I set up my Airport Extreme and Time Capsule for the fastest possible internet speed and back up speed?
    Thank you,

    AirPort Utility 5.6 works with AirPort Extreme 802.11g base stations.
    It works with N version airports.
    It will also show details of the AC model but cannot be used for the setup.. mostly.
    I purposely got the new 6th Gen Airport Extreme so my internet connection would be a lot faster!
    Your network will be much faster when you have AC client directly connected to the AE. Older client will go no faster.. but what is worse.. extend wireless is mixing new and old wireless standards.. guess what one wins.. OLD.. So when you extend wireless.. you have no improvement whatsoever. This whole post is about extending wireless.. so you cannot extend to older equipment and do any better.. maybe slightly better signal although from your comments that isn't happening either.
    I would rather not have to use an ethernet at all with the TC and I don't know EOP adapters are!
    If you do not use ethernet then you are going to be forced to accept slow speed.
    EOP (ethernet over power). Also called homeplug in the US.
    http://en.wikipedia.org/wiki/HomePlug
    Provides a method of networking over power cabling that already exists in your house.
    So what your saying is for the fastest internet speed and back up speed possible I should keep my Airport Extreme plugged into my Modem and keep my TC set up as a wireless extender? Then when I want to do back ups I should plug an ethernet cable from my TC to my MacBook Pro?
    To spell this out.
    A wireless link to an extended device will go very slowly.. if it is not direct.
    So lets say you have a laptop sitting in the lounge.. Your connection goes.. Laptop- - - - - AE- - - - -TC.
    That means two wireless links.. wireless has this nasty half duplex and single channel nature.. it can send or receive (Tx or Rx) but not at the same time.
    Ethernet by contrast does both at once. It is full duplex.
    Wireless can talk to one client at a time.. so if there are multiple items using wireless lets say 4 devices.. then your computer gets a 25% time slice. Since wireless cannot handle multiple simultaneous connections.
    Ethernet by contrast can connect multiple computers to multiple destinations at the same time.. all transmitting and receiving at full speed.
    When you put all this together.. there are a couple of rules for fast connection.
    1. Use ethernet at all times. Where you cannot use ethernet use anything but wireless.. eg EOP (homeplug) at least to try and get rid of wireless.
    2. Where you must use wireless use it sparingly and make sure it is never more than one hop.. ie never have an extend wireless (repeater is more usual term). Repeater will cause instant slowdown of 50% and maybe up to 75% just because it is so inefficient.
    3. Fastest wireless is 5ghz but it has very short range.. you need to be up close and personal to get it working.
    Apple routers however unless you do manual setup I suggest are set to connect to best signal strength not best speed. It will therefore use 2.4ghz at 25% less speed than 5ghz because it is 1db better signal.. this madness means you need to setup manually for the best setup.

  • I cannot install Adobe Flash Player.  I have windows 7 64bit and firefox browser.  During install i get a message 'lost connection', followed by 'trying to reconnect', and then connection failed

    I cannot install Adobe Flash Player. I have windows 7 64bit and firefox browser. During install i get a message 'lost connection', followed by 'trying to reconnect', and then connection failed

    Many thanks for this!   I managed to install the Flash Player with this successfully after many failed attempts before.
    Thanks again
    Jason Pearlson
          From: Jeromie Clark <[email protected]>
    To: Jason Pearlson <[email protected]>
    Sent: Wednesday, March 25, 2015 10:46 PM
    Subject:  I cannot install Adobe Flash Player.  I have windows 7 64bit and firefox browser.  During install i get a message 'lost connection', followed by 'trying to reconnect', and then connection failed
    I cannot install Adobe Flash Player.  I have windows 7 64bit and firefox browser.  During install i get a message 'lost connection', followed by 'trying to reconnect', and then connection failed
    created by Jeromie Clark in Installing Flash Player - View the full discussionPlease use the offline installer Internet Explorer: http://fpdownload.macromedia.com/pub/flashplayer/latest/help/install_flash_player_ax.exe Firefox and other NPAPI browsers: http://fpdownload.macromedia.com/pub/flashplayer/latest/help/install_flash_player.exe If the reply above answers your question, please take a moment to mark this answer as correct by visiting: https://forums.adobe.com/message/7349939#7349939 and clicking ‘Correct’ below the answer Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: Please note that the Adobe Forums do not accept email attachments. If you want to embed an image in your message please visit the thread in the forum and click the camera icon: https://forums.adobe.com/message/7349939#7349939 To unsubscribe from this thread, please visit the message page at , click "Following" at the top right, & "Stop Following"  Start a new discussion in Installing Flash Player by email or at Adobe Community For more information about maintaining your forum email notifications please go to https://forums.adobe.com/thread/1516624.

  • Can I create a fillable pdf form and then export it for client use on my web site?

    Can I create a fillable pdf form and then export it for client use on my web site?  I need clients to be able to fill in the (registration) form on my site then submit it via email.

    [discussion moved to Creating, Editing & Exporting PDFs forum]

  • My iphone 4 says activation required and then connect to itunes and when i try to connect it wont what do i do (i cant use it at all) :'(

    my iphone 4 says activation required and then connect to itunes and when i try to connect it wont what do i do (i cant use it at all) :'(

    i got it from O2... and it dosent do anything when i plug it into my laptop it dosent come up at all or connect to itunes

  • HT2497 do I connect my airport express to my modem via the WAN port and then connect to my imac via ethernet cable?

    Do I connect my airport express to my modem via the WAN port and then connect from airport express to my imac with ethernet cable? Is that how you "hard wire" the connection? Because when I do that, I still can't get online. Thanks.

    What is the make & model of your modem?
    You pretty much stated the correct wiring. There should be an Ethernet cable connected between the modem and the WAN (circle of dots) port on the AirPort Express base station.
    Anytime you change networking hardware it is always a good idea to perform a complete power recycle of that hardware. Check out the following AirPort User Tip for details. Please post back your results.

  • Can I create a site in Illustrator and then import it into Muse?

    Can I create a site in Illustrator and then import it into Muse? If not, why not?

    No, you can't and it kinda defeats the purpose of Muse altogether. Thats like saying, "Can I use Muse to create vector graphics for designing logos?" Or, even simpler " Can I use this hammer to unscrew this picture hook in my wall?"
    Muse would import that AI file as an image only. So, you would have one big picture and no functionality to any buttons, menus etc.
    I would suggest that you try downloading the trial version of Muse. If you could/would design a site in AI ( despite it being an unsuitable tool ) you will find Muse just as easy to use. If you are proficiant in Illustrator or InDesign, Muse's interface is very familiar and uses similar techniques.

  • I have created a slideshow in iPhoto and then used iDVD to burn the sideshow to a DVD. The quality of the DVD is poor. Any ideas?

    I have created a slideshow in  iPhoto and then burnt it to DVD using iDVD. The quality of the slideshow on the DVD is poor. Any ideas?

    Poor in what way?  iDVD creates standard definition displays of 640 x 480 pixels and will not look as sharp as the orignal photos in the iPhoto slideshow on a Mac monitor. 
    OT

  • I want to create a 6X9 book template and then copy my 81/2 x 11 copy into it.

    I want to create a 6X9 book template and then copy my 81/2 x 11 copy into it. Thanks

    select the book in the source pane on the left and duplicate it (command-D) and then click on the themes button and select the new size/style/theme  --  closely inspect the book to be sure it is still correct (text may reflow due to size changes as may photo arrangement) - preview (
    Before ordering your book preview it using this method - http://support.apple.com/kb/HT1040 - and save the resulting PDF for reference - the delivered book will match it. ) and order if it is what you want
    LN

  • Anyone having Bluetooth syncing issues w VW Tiquan11... and iPhone4? Essentially the pairing craps out every other time when you connect to the cars bluetooth. Requires rebooting iPhone, power off/on and then connects..

    Anyone having Bluetooth syncing issues w VW Tiquan11... and iPhone4? Essentially the pairing craps out every other time when you connect to the cars bluetooth. Requires rebooting iPhone, power off/on and then connects..

    Many people are finding their Iphone 4S drops connection with their VW (Passat etc) integrated bluetooth hands free system after working fine for 5, 10, 20 minutes. The only way to reconnect is to switch the car off or turn the Iphone bluetooth off & back on.
    This is a dangerous fault and it appears that both Apple & VW have no solution (or are ignoring as they have already sold you a phone & a car).
    iPhone 4S, iOS 5.1.1, VW bluetooth

  • How to create a table using blob datatype and then selecting the output???

    I have created table
    create table imgloader(img_l blob);
    now i want to insert the image i.e. '/u1/archie.jpg' to this table
    what steps to be follwed to insert the image into table..and how to see the stored image??

    Is GOOGLE & SEARCH broken for you?
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:392618837633

  • Create Table using DBMS_SQL package and size not exceeding 64K

    I have a size contraint that my SQL size should not exceed 64K.
    Now I would appriciate if some one could tell me how to create a table using
    Dynamic sql along with usage of DBMS_SQL package.
    Brief Scenario: Users at my site are not given permission to create table.
    I need to write a procedure which the users could use to create a table .ALso my SQL size should not exceed 64K. Once this Procedure is created using DBMS_SQL package ,user should pass the table name to create a table.
    Thanks/

    "If a user doesn't have permission to create a table then how do you expect they will be able to do this"
    Well, it depends on what you want to do. I could write a stored proc that creates a table in my schema and give some other user execute privilege on it. They would then be able to create a able in my schema without any explicitly granted create table privilege.
    Similarly, assuming I have CREATE ANY TABLE granted directly to me, I could write a stroe proc that would create a table in another users schema. As long as they have quota on their default tablespace, they do not need CREATE TABLE privileges.
    SQL> CREATE USER a IDENTIFIED BY a
      2  DEFAULT TABLESPACE users TEMPORARY TABLESPACE temp;
    User created.
    SQL> GRANT CREATE SESSION TO a;
    Grant succeeded.
    SQL> CREATE TABLE a.t (id NUMBER, descr VARCHAR2(10));
    CREATE TABLE a.t (id NUMBER, descr VARCHAR2(10))
    ERROR at line 1:
    ORA-01950: no privileges on tablespace 'USERS'So, give them quota on the tablespace and try again
    SQL> ALTER USER a QUOTA UNLIMITED ON users;
    User altered.
    SQL> CREATE TABLE a.t (id NUMBER, descr VARCHAR2(10));
    Table created.Now lets see if it really belongs to a:
    SQL> connect a/a
    Connected.
    SQL> SELECT table_name FROM user_tables;
    TABLE_NAME
    T
    SQL> INSERT INTO t VALUES (1, 'One');
    1 row created.Yes, it definitely belongs to a. Just to show that ther is nothing up my sleeve:
    SQL> create table t1 (id NUMBER, descr VARCHAR2(10));
    create table t1 (id NUMBER, descr VARCHAR2(10))
    ERROR at line 1:
    ORA-01031: insufficient privilegesI can almost, but not quite, see a rationale for the second case if you want to enforce some sort of naming or location standards but the whole thing seems odd to me.
    Users cannot create tables, so lets give them a procedure to create tables?
    John

  • To make a table data in ill and then save as PDF

    hei,
    if I want to make kind of table in ill with text data and then exprot/save as.. PDF file, ~2 pages.
    How large should I take the new ill document width x height ?
    And if I want to make 2 pages on PDF, is it possible ?
    And if Im makeing table data, then I shoud use some grid in ill ?
    Thanks!

    You should know better how large the document must be, since you know, how you want to print it and how much content you need to enter.
    You can create multi page documents in many versions of Illustrator. How to do it, depends on your version. The search term would be multipage.
    Illustrator doesn't have a table feature. So perhaps using InDesign for the job would be a good idea. You can just draw some lines in Illustrator or you can create tables without any lines. This depends on how you want your tables to look.

Maybe you are looking for