Professional Web Applications Themes

Sql Script Parameter??? - Microsoft SQL / MS SQL Server

Check out this discussion which was had yesterday along the same lines: [url]http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&threadm=%23YGzQ9VQDHA.2832%40TK2MSFTNGP10.phx.gb l&rnum=4&prev=/groups%3Fq%3DSriSamp%26hl%3Den%26lr%3D%26ie%3DUTF-8%26oe%3DUTF-8%26scoring%3Dd%26selm%3D%2523YGzQ9VQDHA.2832%2540 TK2MSFTNGP10.phx.gbl%26rnum%3D4[/url] See towards the end, on the solution given by Vishal and see if that is what you wanted. If not, we can then post a solution. -- HTH, SriSamp Please reply to the whole group only! [url]http://www32.brinkster.com/srisamp[/url] "Dishan" <d700693hotmail.com> wrote in message news:%23TssBBfQDHA.1040TK2MSFTNGP12.phx.gbl... > Hi All, > Does anyone knows how to pass the parameter to the sql script. > ex. I have db creation script db.sql and it has db name . > I want to pass the db name somehow .. commandline?? I ...

  1. #1

    Default Re: Sql Script Parameter???

    Check out this discussion which was had yesterday along the same lines:
    [url]http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&threadm=%23YGzQ9VQDHA.2832%40TK2MSFTNGP10.phx.gb l&rnum=4&prev=/groups%3Fq%3DSriSamp%26hl%3Den%26lr%3D%26ie%3DUTF-8%26oe%3DUTF-8%26scoring%3Dd%26selm%3D%2523YGzQ9VQDHA.2832%2540 TK2MSFTNGP10.phx.gbl%26rnum%3D4[/url]

    See towards the end, on the solution given by Vishal and see if that is what
    you wanted. If not, we can then post a solution.
    --
    HTH,
    SriSamp
    Please reply to the whole group only!
    [url]http://www32.brinkster.com/srisamp[/url]

    "Dishan" <d700693hotmail.com> wrote in message
    news:%23TssBBfQDHA.1040TK2MSFTNGP12.phx.gbl...
    > Hi All,
    > Does anyone knows how to pass the parameter to the sql script.
    > ex. I have db creation script db.sql and it has db name .
    > I want to pass the db name somehow .. commandline?? I konw how to run
    script
    > in cmd promt .
    > but dont know how to pass param.
    > Thanks
    >
    > regards
    > Dishan
    >
    >

    SriSamp Guest

  2. #2

    Default Sql Script Parameter???

    Hi All,
    Does anyone knows how to pass the parameter to the sql script.
    ex. I have db creation script db.sql and it has db name .
    I want to pass the db name somehow .. commandline?? I konw how to run script
    in cmd promt .
    but dont know how to pass param.
    Thanks

    regards
    Dishan


    Dishan Guest

  3. #3

    Default Re: Sql Script Parameter???

    Thanks...

    Regards
    Dishan

    "SriSamp" <ssampathsct.co.in> wrote in message
    news:eYOodGfQDHA.1684TK2MSFTNGP12.phx.gbl...
    > Check out this discussion which was had yesterday along the same lines:
    >
    [url]http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&threadm=%23YGzQ9[/url]
    VQDHA.2832%40TK2MSFTNGP10.phx.gbl&rnum=4&prev=/groups%3Fq%3DSriSamp%26hl%3De
    n%26lr%3D%26ie%3DUTF-8%26oe%3DUTF-8%26scoring%3Dd%26selm%3D%2523YGzQ9VQDHA.2
    832%2540TK2MSFTNGP10.phx.gbl%26rnum%3D4
    >
    > See towards the end, on the solution given by Vishal and see if that is
    what
    > you wanted. If not, we can then post a solution.
    > --
    > HTH,
    > SriSamp
    > Please reply to the whole group only!
    > [url]http://www32.brinkster.com/srisamp[/url]
    >
    > "Dishan" <d700693hotmail.com> wrote in message
    > news:%23TssBBfQDHA.1040TK2MSFTNGP12.phx.gbl...
    > > Hi All,
    > > Does anyone knows how to pass the parameter to the sql script.
    > > ex. I have db creation script db.sql and it has db name .
    > > I want to pass the db name somehow .. commandline?? I konw how to run
    > script
    > > in cmd promt .
    > > but dont know how to pass param.
    > > Thanks
    > >
    > > regards
    > > Dishan
    > >
    > >
    >
    >

    Dishan Guest

Similar Threads

  1. 6.1 script not working on 7.0 server. Script used towork!
    By piaposa in forum Coldfusion Flash Integration
    Replies: 1
    Last Post: February 9th, 03:43 PM
  2. Simple Way to call a .php script from HTML w/ parameter
    By Something in forum PHP Development
    Replies: 6
    Last Post: January 19th, 11:49 PM
  3. Date Parameter For Saved Parameter Queries
    By melody in forum ASP Database
    Replies: 13
    Last Post: December 19th, 09:22 AM
  4. Perl script to exit with parameter passed from cmd line??
    By Billy Boy in forum PERL Beginners
    Replies: 1
    Last Post: November 20th, 08:24 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139