Forum Replies Created

Viewing 15 posts - 4,546 through 4,560 (of 13,460 total)

  • RE: How can I create registration and login in SQL server 2008?

    we don't know what your preferred programming language is;

    here's a link to an article on how to make a registration form in asp.net;

    if you prefer php or something else, just...

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

  • RE: User Defined Function

    --three char table: bigger range

    CREATE TABLE X(XID INT IDENTITY(1,1) NOT NULL PRIMARY KEY CHECK ((XID> 0) AND (XID < 17577)),

    XCALCULATED AS

    CHAR(((XID -1)/...

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

  • RE: User Defined Function

    besides Seans sage advice, noone on your side has thought through possible max values, right?

    if you force a min length of 3 characters, and also a max length of three...

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

  • RE: Connections with multiple instances

    if just the IP, is specified, then the instance that answers is whatever is listening on Port 1433.

    you can see it in SSMS by connecting to each instance and finding...

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

  • RE: What can I do to circumvent the identity property restriction on an UPDATEABLE VIEW?

    sql-lover (10/19/2012)


    Apologies,

    Maybe I am not following, or I am not explaining myself properly, but I do not see the reason why we cannot elaborate an answer with the two column...

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

  • RE: Limitantes de Sql Server 2012 Express

    http://translate.google.com (10/19/2012)


    {Does} Sql Server 2012 Express have quantity limits in the execution of processes in the database and user concurrent access?

    Thanks for the help.

    Elkin Ortiz

    Medellin, Colombia

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

  • RE: Loop Through the records - send email - set the value of the field - Need Code Help

    skb 44459 (10/19/2012)


    Thanks for the reply.

    Another Quick Question. My Email body is very long.

    Ideally i would like to store the Body in a text file and read the text file...

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

  • RE: Loop Through the records - send email - set the value of the field - Need Code Help

    here's an example of what you are asking;

    you'll have to use a cursor if you want to send emails on a per-email basis from the data.

    remember that when you assign...

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

  • RE: Downgrading version

    Ratheesh.K.Nair (10/19/2012)


    Can we downgrade SQL server version? Example 10.50.2861 to 10.50.2789

    you would have to uninstall 8 different cumulative updates, it looks like to me:

    from http://sqlserverbuilds.blogspot.com/

    see the number of rows different...

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

  • RE: What can I do to circumvent the identity property restriction on an UPDATEABLE VIEW?

    sql-lover (10/18/2012)


    Like I explained, the PK is a surrogate key. MS-SQL needs to generate the key itself, no manual intervention.

    The real tables are more complex. I just simplified it using...

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

  • RE: What can I do to circumvent the identity property restriction on an UPDATEABLE VIEW?

    sql-lover (10/18/2012)


    Do I have to use SET IDENTITY INSERT on the trigger itself? When inserting, I am getting this error ...

    Cannot insert explicit value for identity column in table 'MyTable_A'...

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

  • RE: What can I do to circumvent the identity property restriction on an UPDATEABLE VIEW?

    ok i can do an instead of trigger;

    here's a simple version of your example:

    note how the isnerts into Table_A ignore whatever was passed for the c2 column

    CREATE TABLE dbo.MyTable_A

    (

    ...

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

  • RE: What can I do to circumvent the identity property restriction on an UPDATEABLE VIEW?

    well, you identified the fix: creating an INSTEAD OF TRIGGER on the view, that inserts the data into the "right" table.

    but if you don't want to use a trigger, then...

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

  • RE: Load multiple csv into multiple tables

    a couple of prerequisites:

    install the AccessDatabaseEngine_x64.exe from microsoft:

    http://www.microsoft.com/en-us/download/details.aspx?id=13255

    make sure you open an Administrative command prompt window, and run it with the c:\Downloads\AccessDatabaseEngine_x64.exe /passive

    command line flag;

    this will force the...

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

  • RE: Why object explorer search does not return any results when I enter a column name?

    I'm not going to explain why something doesn't work, but i will show you how i handle it.

    SSMS has the ability to call keyboard shortcuts, which call a procedure of...

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

Viewing 15 posts - 4,546 through 4,560 (of 13,460 total)