Viewing 15 posts - 1,246 through 1,260 (of 1,344 total)
Which 2 files do you speak of?
an MDF, and a LDF? Sql server requires at least 2 files for a database.
If you detach the database and Delete the the LDF...
July 12, 2005 at 9:47 am
Try using the replace function.
Update Mytable
set MyField = replace( MyField, '\\server1\folder1\1234', '\\server2\folder5\1234')
where MyField = '\\server1\folder1\1234'
July 12, 2005 at 9:26 am
as suggested put a Print @SqlString in there before the execute,
Also in String concatenation a null + String = NULL
I don't see a value being set for @uidEventID which would...
July 12, 2005 at 9:19 am
July 12, 2005 at 9:14 am
SELECT min(b.CaseRow), IRNumber, CaseName, CaseNumber
FROM @ceb-2 A
JOIN @CCC B
ON A.IRNumber = B.CaseNumber
Group by IRNumber, CaseName, CaseNumber
July 11, 2005 at 2:35 pm
Your methodology of having 1 insert procedure for each table is good, Promotes reuse. and creating a wrapper to take all the input, and insert to 3 tables is fine.
Your...
July 11, 2005 at 12:56 pm
Okay, but now you have this data in a sql server table?
or is it still in its native database system?
How do you guarantee the order of the records?
Is there another...
July 11, 2005 at 12:45 pm
Try restarting the MSDTC Service (Distributed Transaction Coordinator)
and see.
Also Can you post an actual error from the application log for us to look at?
July 8, 2005 at 3:26 pm
In your example
How do you know that 2000003 2 goes with 1000002 1?
Why wouldn't it be 2000009 2?
Or why wouldn't 2000003 2 go with 1000002 1?
srcdata...
July 8, 2005 at 3:23 pm
SELECT (result_date - DATEPART (dw, result_date) + 2) as [Date],
sum(CASE result_by WHEN 'Bushaw' THEN 1 END) AS [Bushaw],
sum(CASE result_by WHEN 'Dunkel' THEN 1 END) AS [Dunkel]
FROM ac_activity
WHERE result_code...
July 7, 2005 at 5:22 pm
After you asked yourself
"Self.. wouldn't it be great if I had a function that would formatt the information for me so when I pulled it from the database all I...
July 7, 2005 at 4:29 pm
May have information for you. not sure.
http://www.mssqlcity.com/Articles/Compare/sql_server_vs_access.htm
July 7, 2005 at 4:24 pm
I set the string to a variable to help in the readability.
Declare @String varchar(1000)
set @String =
'action=acct_zip&id=1B25B81JVJT&eid=FD05063&custnbr=281050&ky=FD05063&oc=$99 Free Shipping&mwn=&zip=90650&email=lafaithhome@yahoo.com'
select substring(@String,(charindex('&custnbr=',@String) + 9), charindex('&', @String, (charindex('&custnbr=',@String) + 9)) - (charindex('&custnbr=',@String)...
July 7, 2005 at 11:52 am
Your Request lacks the detail to produce an accurate answer.
I am guessing here, but I am thinking this is what your looking for:
How to dynamically number rows in a query
July 7, 2005 at 11:33 am
Viewing 15 posts - 1,246 through 1,260 (of 1,344 total)