Viewing 15 posts - 1,786 through 1,800 (of 2,038 total)
DBA (3/23/2009)
March 23, 2009 at 1:57 pm
J-F gave you a complete working sample. To include the day after the "end" date just add "+ 1".
-- Copied from J-F
SELECT 1
FROM @tbl_holidays hol
...
March 23, 2009 at 1:50 pm
Hi
2.
You should consider how of the developers really need a dbo account on your production system. I'm also a developer and have a dbo account on our production system but...
March 23, 2009 at 1:42 pm
Hi Betim
No, I would say to really learn SQL Server you should use another book. BOL are a great reference or to study new features. But basically to learn SQL...
March 23, 2009 at 3:38 am
To Gail, Perry (and some other people)
Thanks for your corrections in this thread and others. I'm not from England/America and sometimes I'm tryin' to read faster than my English allows......
March 22, 2009 at 7:51 am
GilaMonster (3/22/2009)
naimish_2005 (3/22/2009)
I got this software from online sharing website.??????
!!!!
Sorry, I read over this...! Thanks Gail!!!
naimish:
Could you please explain!
March 22, 2009 at 7:46 am
Hi
Here an example which shows how to reset the IDENTITY column.
USE tempdb
IF (OBJECT_ID('test') IS NOT NULL)
DROP TABLE test
GO
CREATE TABLE test (id INT IDENTITY, txt VARCHAR(100))
GO
INSERT INTO test
...
March 22, 2009 at 7:38 am
Hi
The SQL query is not the problem. You have to determine if any data have been returned and if the data are not DBNull.
...
March 22, 2009 at 7:33 am
Perry Whittle (3/22/2009)
the OS reqs are at the following linkhttp://msdn.microsoft.com/en-us/library/ms143506(SQL.90).aspx
you can install either Standard, workgroup, express or developer only on XP Pro SP2
and developer or express on XP Home
Hi Perry
Thanks...
March 22, 2009 at 7:08 am
So it seems that you have installed no SQL Server.
You wrote you are running Windows XP. You can only install the SQL Server Developer or Express Edition on a client...
March 22, 2009 at 6:18 am
Hi
This should work:
DECLARE @output TABLE (id INT IDENTITY, command NVARCHAR(256))
INSERT INTO @output
EXECUTE master.sys.xp_cmdshell 'bcp YourCriteria'
SELECT *
FROM @output
WHERE id = (SELECT...
March 22, 2009 at 6:05 am
Hi
First:
Go to "Start" -> "Programs" -> "SQL Server 2005" -> "Configuration Tools" -> "SQL Server Configuration Manager". Select node "SQL Server Services". In detail view you see the installed components...
March 22, 2009 at 5:58 am
Hi
As Gail already replied, sometimes it's faster to press CTRL+F5 than let us be the parser... 😉
For your problem try this:
WITH t2 (column1, column2) AS
(
SELECT t1.column1, SUM(t2.column2)
...
March 21, 2009 at 12:53 pm
Hi
I did not yet connect to an Oracle via linked server. Because you did not explain special problems, try this (copied from BOL):
EXEC sp_addlinkedserver
@server = 'LONDON Mktg',
...
March 21, 2009 at 12:41 pm
sol (3/21/2009)
March 21, 2009 at 12:34 pm
Viewing 15 posts - 1,786 through 1,800 (of 2,038 total)