Forum Replies Created

Viewing 15 posts - 946 through 960 (of 13,460 total)

  • RE: McAfee space issues - Event ID 1105

    i've had to address the same problem.

    McAfee usually installs on an instance of SQL Express which has a hard internal limit of ten gig on the database;

    available disk space will...

    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: Adding Linked Servers

    TexasJohn (6/7/2016)


    For Access I went back to my original setup.

    exec sp_addlinkedserver @server=N'AccessSchedule'

    ,@srvproduct=N''

    ,@provider=N'Schedule'

    ,@datasrc=N'LocalServer'

    exec sp_addlinkedsrvlogin AccessSchedule,False,NULL,Admin,NULL

    Where Schedule is the name of a DSN file on the SQL server

    Now when I run

    exec...

    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: Interview Questions

    Luis Cazares (6/7/2016)


    Try this:

    SELECT sys.fn_get_folder(path, 1)

    jerking my chain or is that new in 2016?

    i tried 2008/2012/2014 and below with no luck.

    ;WITH MyCTE([path])

    AS

    (

    SELECT 'c:\Programmefiles\Dicument\file1.txt' UNION ALL

    SELECT 'c:\Programmefiles\Dicument\Subdocument\file1.txt' UNION ALL

    SELECT 'c:\Programmefiles\Dicument\Image\file1.txt' UNION...

    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: Adding Linked Servers

    since you've set up teh DSN and the linked server, do you get a list of tables from this command that you could then query?

    exec sp_tables_ex [AccessSchedule]

    you get results 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: Limit CSV file to actual data length rather than field length

    ZZartin (6/7/2016)


    Do you have the target set up as a fixed width file?

    is the datatype of the source CHAR/NCHAR and not varchar/nvarchar?

    exporting char values maintains their defined length.

    you'd probably want...

    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: Limit CSV file to actual data length rather than field length

    how does whitespace wreck the import?

    importing a csv is fairly straight forward;

    you could bulk insert directly to a staging table, and trim the data before it inserts into the permanent...

    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: UDF slow even when used as a persisted computed column

    DennisPost (6/6/2016)


    Hi Lowell,

    Thanks for taking the time to read and reply.

    That approach won't work for us as the server is set to UTC and we need to be able 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: UDF slow even when used as a persisted computed column

    it sounds like your UTCToLocal functions are scalar which are notoriously slow, where including some datemath columns as the calculated value would definitely be faster since it would be treated...

    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: Cast Varchar to Float Resulting In (Scientific) E Notation

    floats are a pain. As Luis said, the underlying value is still digits, but when being presented in the GUI or exported out again, it's a bit ugly.

    when converting 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: Syntax help needed for UPDATE Statement

    mw112009 (6/2/2016)


    Need help with the following UPDATE statement.

    The objective here is to update one field with a | delimited statement using the rest of the fields.

    This works out well....

    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 is SQL Fertilization any links?

    I'm now offering certifications in SQL Fertilization. If you act now i'll offer you 50% off my already low price of $99.

    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: Security violation for Database Mail XPs Option

    A DOS attack, as in denial of service attack?

    That's a very poor way to try and justify disabling that setting. I don't believe the person who developed the list knew...

    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: Security violation for Database Mail XPs Option

    not sure why you think it's a security violation.

    if database mail is enabled, the only users that can use it are sysadmins of sql, or users who have been...

    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 i use set xact_abort on, in place of begin try cashe to rollback, in reporting stored proc becasue they do not insert update in database.

    rajemessage 14195 (6/1/2016)


    q2) is not answered. will it do any good by removing or deleting.

    if the only thing the query is doing is a SELECT statement, neither the XACT_ABORT nor...

    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 tell when all files are in a directory

    i've got a similar process, where i need exactly 17 files in a folder that is cleared out daily.

    a simple script task to count the files what i use;

    string...

    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 - 946 through 960 (of 13,460 total)