Viewing 15 posts - 76 through 90 (of 178 total)
Hi,
You would have a much greater chance of getting a response if you post ddls and sample data in a readily consummable format, along with the query you have already...
July 30, 2009 at 4:19 am
Sorry if I have caused you confusion here, my suggestion was that you find an OLE driver for the database format you are working with. Really just trying to...
July 29, 2009 at 5:57 pm
Hi there,
I have no experience of Dbase file types you refer to, though I have worked a lot with Foxpro to MS SQL imports. I have have had problems...
July 29, 2009 at 4:12 pm
Here are a couple of uses I can think off, although many will probably argue — and probably with due cause, I'm not looking to fight here 😉
1) Some administrative...
July 29, 2009 at 3:40 pm
Rick Kurtz (7/29/2009)
Suffix is not always 1 character, but can be multiple values from 1 to 3 characters...
July 29, 2009 at 11:39 am
Why are you shrinking your databases? What problem are you trying to solve?
What is the recovery model you are using? If 'full' you'll need to backup...
July 29, 2009 at 10:49 am
Hello!
If you can provide some tables, sample data, queries you have already written, and the output as you want it to look, someone will be able to help. Sorry,...
July 29, 2009 at 7:41 am
Are you sure? http://msdn.microsoft.com/en-us/library/ms188776(SQL.90).aspx... reason I asked was I don't have a 2005 instance to test, but according to BOL it gives number of rows.
///edit...
You have to include object name...
July 29, 2009 at 7:33 am
You'll need something like: group by dateadd(dd, 0, datediff(dd, 0, Obstime))
If this runs slowly you could look at adding a persisted calculated column with the value dateadd(dd, 0, datediff(dd, 0,...
July 29, 2009 at 7:26 am
Does sp_spaceused work for 2005?
July 29, 2009 at 7:06 am
How many records are we talking about here?
July 29, 2009 at 6:35 am
Are the indexes appropriate to the query(s) your are have problem(s) with? I am unclear on your problem and therefore how to help without further information.
The following...
July 29, 2009 at 6:34 am
Have you got any indexes on table in question? Adding appropriate indexes would probably be the best solution, you would get better performance without having to change code in...
July 29, 2009 at 6:19 am
Few questions:
1) Is suffix always 1 character? If not, any chance of more representive sample data?
2) Is it possible to add a calculated column to table APDOC?
3) And while...
July 28, 2009 at 5:16 pm
The following code works for the examples you posted:
DECLARE @Input TABLE ([Date] VARCHAR(14))
INSERT INTO @Input
SELECT '20Jul 15:46:1' UNION ALL
SELECT '22Jul 06:21:8'
SELECT CONVERT(DATETIME, SUBSTRING([Date],1,2) + ' ' + SUBSTRING([Date],3, LEN([Date]) -...
July 28, 2009 at 11:22 am
Viewing 15 posts - 76 through 90 (of 178 total)