Viewing 15 posts - 2,026 through 2,040 (of 2,171 total)
You are using ODBC to copy from one table in SQL to another table in SQL?
Create a stored procedure to do that for you, and call the SP from your...
N 56°04'39.16"
E 12°55'05.25"
I think we are missing some information here. It seems that the ODBC driver does not recognize the datetime format.
What are you trying to accomplish? Inserting rows from an outside...
N 56°04'39.16"
E 12°55'05.25"
If necessary, use
INSERT DestinationTable (DestField)
SELECT CONVERT(DATETIME, MyField, 121) FROM SourceTable
121 is not needed. It is just there for enforcing yyyy-mm-dd hh:mm:ss.mmm format. SQL Server tries to...
N 56°04'39.16"
E 12°55'05.25"
Use a function like this, or any other similar. Call with
SELECT COUNT(*) Workdays FROM dbo.fnSeqDates('8/1/2006', '8/31/2006') WHERE DATEPART(dw, SeqDate) BETWEEN 2 AND 6
or
SELECT SeqDate Dates FROM dbo.fnSeqDates('8/31/2006', '8/1/2006') WHERE...
N 56°04'39.16"
E 12°55'05.25"
See Regional Settings in Control Panel.
N 56°04'39.16"
E 12°55'05.25"
???
SQL Server has a start date of January 1, 1753 and end date of December 31, 9999 when using DATETIME. SMALLDATETIME has start date of January 1, 1900 and end date of June...
N 56°04'39.16"
E 12°55'05.25"
Microsoft Excel, prior to version 2007, does not support 500 columns. Max is 256 columns for older versions and 1024 columns for Excel 2007.
N 56°04'39.16"
E 12°55'05.25"
We are not able to see images stored on your local computer at drive m:
Please upload image to public website and post the link here to that image.
Meanwhile, try to open...
N 56°04'39.16"
E 12°55'05.25"
Try these functions!
CREATE FUNCTION dbo.fnGetTree-- returns csv
(
@ParentID INT,
@Levels INT
)
RETURNS VARCHAR(8000)
AS
BEGIN
IF @Levels < 1
RETURN ''
DECLARE @Tree TABLE
(
TreeID INT IDENTITY(0, 1),
TreeKey VARBINARY(8000),
Generation SMALLINT,
ParentID INT,
ID INT
)
N 56°04'39.16"
E 12°55'05.25"
Viewing 15 posts - 2,026 through 2,040 (of 2,171 total)