Viewing 15 posts - 12,031 through 12,045 (of 13,461 total)
when you delete a file, regardless of the recycle bin, the file is still there, but the disk space it used is open for use by other programs...if you hurry...
August 29, 2008 at 9:59 am
this was a neat question; you could schedule the procedure I made belowto run every thirty minutes, and query the table WHORESULTS on demand:
[font="Courier New"]CREATE PROCEDURE PR_CAPTURESP_WHO
AS
BEGIN
SET NOCOUNT ON
IF NOT...
August 28, 2008 at 11:29 am
maybe a comma in the exisitng data is affecting the real data you are looking at...
Can you search the file for a pre-existing commas before you replace the tabs with...
August 28, 2008 at 8:56 am
well your example shows up just fine for me...
renamed the file to "Artists_mini.csv" ,as only one period is allowed to exist for a text server to see it:
selected...
August 28, 2008 at 8:46 am
thomas.lemesurier (8/28/2008)
August 28, 2008 at 5:29 am
here's my suggestion:
add a folder which contains all of your .csv files as a linked server.
a text linked server will show evert .txt file and every.csv file as a table...
so...
August 27, 2008 at 12:02 pm
not enough information I think...Can you post the full CREATE FUNCTION statement you are using?
I'm guessing from what you posted the "parameter" you are trying to pass is a tablename...
the...
August 26, 2008 at 7:24 pm
Rbarryyoung is exactly right...typically, the account used for running the SQL server service never logs into the domain, and so does not have permissions/cannot browse to a different machine on...
August 25, 2008 at 11:52 am
maybe you need to filter so you get JUST the parent records?
slight change by adding a WEHRE clause, and changing which Oid to select like this?:
[font="Courier New"]
SELECT
o.Oid,
x.employeeID,
o.changedate,
e.followupdate,
o.date
FROM...
August 25, 2008 at 11:07 am
it's just your INNER JOIN at the very end that is exluding the records you were looking for; simply change to this i think:
[font="Courier New"]
SELECT
x.Oid,
x.employeeID,
o.changedate,
e.followupdate,
o.date
FROM
(SELECT
...
August 25, 2008 at 10:15 am
aww too bad your on 2000; I found Jack's suggestion really interesting and slapped this together real quick and it gave me promising results:
[font="Courier New"]
SELECT
DB_NAME(database_id) AS dbname,
OBJECT_NAME(OBJECT_ID,database_id) AS tablename,
SUM(user_seeks) AS...
August 20, 2008 at 12:03 pm
yeah, looking at it again, i might suggest assuming just 5 characters:
JOIN ON LEFT(tbl1.ZIPCODE,5) = LEFT(tbl2.ZIPCODE,5)
that way you ignore bad data, as well as 9 digit zipcodes.
August 20, 2008 at 10:22 am
Crispin Proctor (8/20/2008)
Handy script (even if I don't agree with the approch) but handy non the less...Instead of sysobjects and syscolumns etc, rather use the catalog views sys.objects and sys.columns.
I'm...
August 20, 2008 at 8:52 am
ctics112 (8/20/2008)
I am trying to join two tables AgentAddresses and ZipCodes on a field called zipcode in to create another table named Agents however several thousand fields in Agent Addresses...
August 20, 2008 at 8:23 am
well, avoiding SSIS, this seems to work; in order to gett his to work, i had to enable xp_cmdshell, and change the credentials for the account that sql server runs...
August 20, 2008 at 8:07 am
Viewing 15 posts - 12,031 through 12,045 (of 13,461 total)