Forum Replies Created

Viewing 15 posts - 7,696 through 7,710 (of 13,460 total)

  • RE: Object is not an ADODB.RecordSet or an ADODB.Record. Parameter name: adodb

    you didn't mention it, maybe it's there but not in the snippet you posted, but where is the connection for the dataadapter?

    I know the ADODBRecordSet As object is the 4th...

    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: TNSnames.org File Entry for all databases?

    can't you connect with your default linked server to oracle, and then simply switch to 4 part naming conventions, same as SQL?

    That's absolutely true in my case whenever i connect...

    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: Deny all permissions

    SQL Server is deny by default, so as long as the user is not tied to a sysadmin, you would add the user to the database, and then add 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: Import/Export files (.txt/.csv/.xls) into SQL 2005 Compact Edition

    Jeff Moden (4/23/2011)


    Pardon my ignorance. What's an "SDF"?

    SQL Server Compact Edition databases are supposed to a good idea for mobile phones and other portable devices;There's no service like SQLServer...

    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: Not able to restore in WIndows 2008 Enterprise Edition from Standard Edition

    Syed Jahanzaib Bin hassan (4/23/2011)


    lets try with recent updates of this release like service packs and CUs

    Regards,

    Syed Jahanzaib Bin Hassan

    MCTS | MCITP | OCA | OCP | OCE | SCJP...

    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: lakhs separator (1,23,45,67,890)...

    here is an example that works to 99999.99; from there it's trivial to expand it to higher numbers:

    --1,23,45,67,890

    ALTER function lakFormatting(@value money)

    returns table

    as

    return

    SELECT

    CASE

    ...

    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: lakhs separator (1,23,45,67,890)...

    Isn't this handled by the GUI/app you are using to display the data? Typically separators are handled by the regional settings in windows for me; all numbers in SQL server...

    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: Add Reference Data to Tables When You Deploy the Database

    the SSMS has an option to script data as wll as the table definitions; i've used it before

    but it's weird when i went to Tools>>Options ...SQL Server Object Explorer>>Scripting i...

    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: Add Reference Data to Tables When You Deploy the Database

    don't deploy a script ;give the end user a complete backup with all tables and default data already in place; it's faster, easier and not prone to script errors

    it's...

    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: copy files through network to another server

    I had to lookup Sneakernet on Wiki , already anticipating installing something ultra fast on my network;

    That one made my day.

    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: Exporting results from multiple queries to csv

    it is much easier to write a file within your application than it is to do it on the SQL Server.

    You run into a lot of permissions issues where 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: INSERT

    what is the name of the identity column in the table [stocktb]?

    are you trying to force stocktb.[identitycolumn?] to be exactly the same as the productid from the other table, 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: Date as INT - having trouble with comparison :(

    ok, with a lot of rows in the source table,isn't the CURRENT_TIMESTAMP variable still being evaluated on a per-row basis?

    can you try this instead?

    declare @Last7Days int

    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: Rolling down data based on key column

    really need a bit more of the table definition to give you some solid code examples.

    basically, what you want is to use a tally table to help generate all possible...

    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: Date as INT - having trouble with comparison :(

    I'm guessing there's not an index on the[table-name-removed] column yet;

    that should speed things up considerably i bet.

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