Forum Replies Created

Viewing 15 posts - 6,871 through 6,885 (of 13,460 total)

  • RE: Searching/Querying Records from Database

    I'd consider loading the datatable you want to search agaisnt ONCE, and then using a filter( if you are using a BindingSource) like bindingSource.Filter("SomeValue LIKE '" & sometextbox.text & "%'")

    or...

    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: Object reference not set to an instance of an object

    In SQL Server Managment Studio, if you do Help>>About, what version do you see?

    here's mine for 2008:

    Microsoft SQL Server Management Studio 10.0.4000.0

    Microsoft Analysis Services Client Tools ...

    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: place field data into existing pdf document

    existing PDF's are just plain not editable, especially not from TSQL;

    you'll need to generate a new PDF instead.

    it's also possible to append two PDF's together, so PDF2 starts where PDF1...

    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: Object reference not set to an instance of an object

    i think this is because the client tools you are using are from SQL 2005, and not 2008;(that 9.0.0 stuff means 2005 to me)

    can you try to do the same...

    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: Não estou logando com SA

    google Translate for : marcio.staruck (8/24/2011)


    Today I changed the SA password, but I am not able to login as SA and not as windows authentication.

    I really need help.

    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: Stored procedure lost while migrating to new server

    maybe the stored procedure is in the master or msdb database, and thus was not migrated when that one database moved over?

    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: Table Value Funcation Not Working

    Div Goud (8/24/2011)


    i am passing two parametres start date and end date

    it will creating temporay table and generating result one

    well, a function can only create a table variable, and...

    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: Table Value Funcation Not Working

    "not working properly" is really tough to diagnose without seeing the function itself,as well as how you are calling the function.

    do you mean it doesn't return the expected results? wrong...

    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: indexes, when to use include, vs when to use key columns

    i believe the key is the anticipated WHERE statement;

    take this as an example:

    SELECT

    contactId,

    FirstName,

    LastName,

    Email

    From Contacts

    Where Entitytblkey =77

    the index's columns should match...

    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 leaf_delete_count is not updated?

    could it be something simple like this?

    EVERY command changes the @@ROWCOUNT.

    you need to capture the value immeditely after the updates or deletes, and compare the saved value right?

    also, i don't...

    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: Determine if SQL Server is running on VM

    skrilla99 (8/23/2011)


    You could also run systeminfo remotely from your local command line:

    c:\>systeminfo /S serverName | find "System Model:"

    Which could be readily put together in a batch for all servers.

    I don't...

    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: Has the culture of this web site changed?

    Ninja's_RGR'us (8/23/2011)


    +1 on the people not using google or bols. I've seen cases where the guy just didn't know what term to type in and it's a pleasure...

    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: How to set no more new connection to a database?

    you could do this:

    ALTER DATABASE DBNAME SET RESTRICTED_USER

    I think that will prevent any other connections from hitting the database unless they are a sysadmin...you don't have everyone logging inas...

    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: How to send text email using sql server 2005

    you'll need to set up database mail, which is very simple to do, and you'll need a known SMTP server with a usnername and password, most likely.

    the actual command is...

    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: Sort by AM/PM

    if you don't keep your datetimes in datetime columns, you run into wierdnesses like this.

    here's one way to sort varchar representations of time the way you asked: ideally, you'd simply...

    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 - 6,871 through 6,885 (of 13,460 total)