Viewing 15 posts - 4,981 through 4,995 (of 5,103 total)
quote:
select CategoryID, CategoryName from Categories
UNION ALL![]()
select EmployeeID,LastName from Employees
December 4, 2003 at 8:00 am
one more comment
as of today forums are SLLLLLOOOOOOWWWWW
December 4, 2003 at 7:54 am
if you dont want to write any code. Try to use 2 Fields ( one for the date an the other for the time) then on the front end make...
December 4, 2003 at 7:50 am
maybe I was not clear YOU DON'T HAVE TO USE RECURSION.
I am including Three examples of what I mean.
http://support.microsoft.com/default.aspx?scid=kb;en-us;q248915
http://www.yafla.com/papers/sqlhierarchies/sqlhierarchies.htm
http://www.sqlmag.com/Articles/Index.cfm?ArticleID=16123
and those are NOT all the choices
HTH
December 4, 2003 at 7:23 am
Can you define SAVE?
will it work? == Sure!
will it be supported in the next version ? == probably but Is not warratied
will it be a good idea for an application?...
December 3, 2003 at 7:45 pm
When you use "(" in the FROM clause, you HAVE to ALIAS the inline view!!
in other words Select ,,,, FROM (...) ALIASNAME
your post is missing the alias
I haven't check...
December 3, 2003 at 7:31 pm
you have two options here:
1 if you can limit the number of rows beforehand this is the easiest to maintain approach.
SELECT
Grade,
TestID,
Permnum,
QID,
CA,
SA,
QuestionNumber,
CASE...
December 3, 2003 at 2:32 pm
sorry for the Delay (I was busy )
1.
sp_MSforeach... procedures are undocummented in BOL but you can always check their code in the master db!!
2 the '?' is...
December 3, 2003 at 2:07 pm
Check your syntax
Update T Set intIndex = Q.rank
FROM
(
select baseT.idsItem
, baseT.idsParent
, (select Count(*)
from T...
December 3, 2003 at 1:01 pm
what I am talking about is that you can CREATE the FORMAT file not the DATA file every time before you import. The Format file tells bcp what are the...
December 3, 2003 at 12:33 pm
If it works on QA without quotations and MSDTC is running remotely it has to work in QA with quotations!!
have you tried exec (@str)
instead of sp_executesql
December 3, 2003 at 12:24 pm
select
baseT.idsItem
, baseT.idsParent
, (select Count(*)
from T T1
where
baseT.idsParent = T1.idsParent...
December 3, 2003 at 12:17 pm
recursion is limited to 32 levels if you need more than that do a quick search for handling hierarchies on sql mag and it should give you some pointers !!
...
December 3, 2003 at 11:58 am
try:
CREATE TABLE #T(Cat nvarchar(128))
INSERT INTO
#T
EXEC sp_MSForeachdb N'use ?
SELECT
Table_Catalog
FROM
...
December 3, 2003 at 11:49 am
are you sure MSDTC is running on 'CUSTOMERSQL' Server?
December 3, 2003 at 11:12 am
Viewing 15 posts - 4,981 through 4,995 (of 5,103 total)