Viewing 15 posts - 26,266 through 26,280 (of 26,487 total)
Easiest way I have found is to export (or save) the data from Excel as a CSV file and import hte data from that file.
November 30, 2006 at 3:04 pm
Try this for your udf:
CREATE FUNCTION [dbo].[ItemsRentEligible] (
@billDate DATETIME,
@hiDate DATETIME,
@period INT,
@custId INT)
RETURNS TABLE AS
RETURN(
SELECT
OrderItem.ORDER_ID,
OrderItem.PRODUCT_CODE,
OrderItem.PLACEMENT_DATE,
OrderItem.PICKUP_DATE,
OrderItem.CUSTID,
Products.RENT_ELIG,
OrderItem.QTY,
Products.TAXABLE,
OrderItem.PRICE,
OrderItem.BILL_DATE,
Products.PRODUCT_DESC,
PRODUCTS.RENT_CHG
FROM
...
November 21, 2006 at 2:04 pm
That is possible, but I haven't ever had a request like LMtz. This is how LMtz can grant the user access to creating views. Unfortunately, I can't come up with...
November 21, 2006 at 1:01 pm
In EM, right click on the database where the user needs to be able to create views. Click on the Permissions tab. There you can grant the user access the...
November 21, 2006 at 11:57 am
We had similiar issues between or Windows 2000 and Windows 2003 servers. Can you check the configuration settings on the servers and tell us what they are? Programs -> Administrative...
November 21, 2006 at 11:51 am
For free tools, you may want to look at SQLH2 from Microsoft.
November 21, 2006 at 9:28 am
How about something like this then:
declare
@tststr varchar(128)
set
@tststr = 'Other_pg12of23_112007_Vit7_7.csv'...
November 20, 2006 at 7:42 pm
The only thing I could come up with is that more than 1 row may possibly be inserted when the trigger is fired. If you were to put the key...
November 20, 2006 at 7:07 pm
try something like this:
declare
@tststr varchar(128)
set
@tststr = 'Other_pg3of7_11202006_Ndc_N.csv'
select
November 20, 2006 at 6:59 pm
That is an interesting way to put it. Can I use that analogy sometime?
November 20, 2006 at 9:35 am
Ran a few more tests using one of our production servers. Even with adding code to insert 1000 or 5000 rows of data to the tables being created and then...
November 20, 2006 at 9:22 am
Not really a good test. On my desktop system the numbers were a lot closer. But what is also interesting is if you look at the execution times of each...
November 20, 2006 at 8:21 am
Actually, #tables and ##tables are more like database tables than table variables. Yes, table variables and #tables are created in tempdb, however, SQL Server does not handle them the same...
November 19, 2006 at 9:46 pm
Viewing 15 posts - 26,266 through 26,280 (of 26,487 total)