Forum Replies Created

Viewing 15 posts - 9,931 through 9,945 (of 13,460 total)

  • RE: How to link SQL 2005 to a SQLite server

    TKE402 did you get a linked server to work yet? I've played with SQLite a little bit now; I've used this .NET provider for SQLite[/url] in VS 2005/2008 with no...

    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 Data Source in the script ?

    thank you Jayant, I'm glad i could point you in the right direction with your project.

    feedback like yours is exactly why I like to help here; knowing I got to...

    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: FTP from xp_cmdshell and SQL Server 2008

    Here's what I always do, it might help you out as well.

    I create a new regular user in AD or on the local machine called SQLAdmin. (ie yourdomain\SQLAdmin)

    i make that...

    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: Something similar to event in mysql for MS SQL

    replace your static column "Holidays with the calculation included in my example,a dn you get the results you wanted, without the whole update of my db every five seconds:

    Create Table...

    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: FTP from xp_cmdshell and SQL Server 2008

    yeah this is a very common issue; pretty sure the issue is permission to get to the share; especially with the error access denied.

    change the login used to run 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: FTP from xp_cmdshell and SQL Server 2008

    pretty sure the issue is this:

    \\<servername>\medlog\sql_apps\afmsql\daasc_reb\txt\work_reb_ftp1.txt

    when you jump to xp_cmdshell, it doesn't matter what YOUR credentials are; sql server uses the credentials that is running the sql service, which...

    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 Data Source in the script ?

    Jayant i think they are refering to the OPENROWSET command; you can substitute SELECT * FROM YOURTABLE where i'm using EXEC dbo.sp_Who for the command

    SELECT *

    ...

    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: Something similar to event in mysql for MS SQL

    Yep I'm still sure you can calculate the accrued holidays (vacationtime?) with a view instead.

    dunno your math, you will need to be very specific: give us the create table ,...

    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: Something similar to event in mysql for MS SQL

    i agree with john.arnott; if we know the reason, we can help;

    for example, why not use a view?

    you can easily create a view or function that returns a number, based...

    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: Humor

    blocked at work, is that the "little bobby tables" comic?

    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: Help Linked Server Query!!

    Adan, you might need to switch to dynamic SQL to do that I think; you need to get the data into a comma delomited list for the IN() statement to...

    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 remove Decimal point

    dheer (2/22/2010)


    Hi i have column with data type as Varchar.The coloumns contains the numbers with decimal point in between for ex: 789.24,7892.5 etc. How can i remove those decimal points....

    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: Help Linked Server Query!!

    maybe something like this as a prototype?

    trying to join the two linked tables together.

    SELECT

    o.ordernumber ,

    o.status,

    o1.orderdesc,

    l.location

    FROM orders o

    INNER JOIN (SELECT

    ...

    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: Help Linked Server Query!!

    Linked servers are slow to join against.

    here's the reason:

    you are joining LINKEDSERVER.ORDERS.dbo.orders to your table.

    the result is that the entire table LINKEDSERVER.ORDERS.dbo.orders gets pulled into the temp database,...

    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: Database Discovery Tools

    SQLRecon[/url] is free, and uses a number of different methods to find all the SQL servers on your network.

    i've used it a lot of times, it does a lot more...

    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 - 9,931 through 9,945 (of 13,460 total)