Forum Replies Created

Viewing 15 posts - 8,836 through 8,850 (of 13,460 total)

  • RE: Import to SQL from VFP table programmatically

    BOL examples show that after the connection info, you need the table to extrac t from, outside fo the parenthesis, and it appears to need 4 part naming conventions;

    here'sa BOL...

    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: LIKE operator

    don't forget the LIKE operator can take some quasi regular expression commands to help determint ehte list:

    --every proc/view/table that DOES NOT contain a number.

    select * from sys.objects where name like...

    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: Set cmdshell proxy account, but not really set in SQL 2008

    i think the rule is this:

    if the calling user is NOT a sysadmin, then the proxy account is used.

    if the calling user is a sysadmin, then the account being used...

    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: Management Studio Undoing My SQL Layout in Views

    robert i'm pretty sure you have some third party object that is reformatting your SQL;

    by default, SSMS is just a syntax-highlighting text editor, with no auto-reformatting as far as...

    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: Can you determine the DB an SP was called from?

    a parameter cannot be assigned inside the calling statement; just break it up into two lines::

    SET @DB = DB_NAME();

    EXEC DB1.dbo.test @DB

    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: Clustered index on non-unique and non-increasing column

    remember the purpose of the clustered index is to make it faster to find the data; the data does nto necessarily have to be non-unique and not auto-increasing;

    does your...

    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: Connect to Database Engine prompts repeatedly

    repeatedly as in within seconds of each other, or you mean you go away, come back after a bit, and get re-prompted for connection info?

    if it is the second choice,...

    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 query data from linked server

    agnesloyola (8/30/2010)


    Thank you so much Lowell.Now its working fime after using OPENQUERY.Thanks a lot 🙂

    glad i could help and thanks for the feedback!

    that link server behavior's a good concept...

    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: passing date parameters to a proc table from a table

    matthew.wilson (8/30/2010)


    Lowell thanks for your reply

    Sorry maybe I can be more specific

    I can set the columns to datetime though I need the parameter stored in that field to be variable,...

    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: Accessing via ODBC source and 127.0.0.1 not possible

    i think because the express edition was installed, and not a default instance, no service is there to answer a connection to 127.0.0.1.

    try building a connection string to [127.0.0.1\SQLEXPRESS] instead....

    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: passing date parameters to a proc table from a table

    it sounds like you are trying to make one generic proc , instead of multiple procs for specific purposes.

    in your table definition, your parameter column is a varchar field, but...

    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: check if Row exists in the table

    this is fairly simple; are you familiar with the IF EXISTS / IF NOT EXISTS syntax?

    I was going to post the whole exmaple proc, but the question struck me as...

    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: Issues with Triggers and views

    JblakTSql (8/30/2010)


    I am using a trigger to audit use of a database. This is an after update trigger that checks to see if the date lastmodified column in 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: How to query data from linked server

    agnesloyola (8/30/2010)


    I have written an stored procedure that read some records from the remote table on the linked server.Actually whats the problem is When I execute the Stored Procedure ,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: How to use sp_send_dbmail to multiple users?

    SQL ORACLE (8/28/2010)


    When we would like to send an alert to more than one users, only the first one received the alert.

    if only one of the emails got thru, it...

    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 - 8,836 through 8,850 (of 13,460 total)