Viewing 15 posts - 616 through 630 (of 928 total)
I also took answer number 2. Forgot that you cannot specify an index directly in a create table statement. D'oh!
Thanks - I was wondering why my answer was incorrect too....
June 27, 2012 at 1:03 am
A similair request was made some time back - so there are links within that thread:
http://www.sqlservercentral.com/Forums/Topic1213693-360-1.aspx
June 21, 2012 at 3:57 am
June 21, 2012 at 2:08 am
Don't assume that these identities will always be consecutive though - there may be gaps in the sequence when you look at the data.
An interesting article with examples of manipulating...
June 21, 2012 at 2:00 am
They changed the name of the old table system:
http://www.businessinsider.com/the-original-microsoft-surface-table-is-now-called-pixelsense-2012-6
June 19, 2012 at 8:19 am
Horribly obvious!
And yet it would appear I'm not the first to miss that, from the hunting around through the world of Google.
And you've just made me realise - we don't...
June 7, 2012 at 9:28 am
It is possible to log-ship from 2005 to 2008 but I don't think you would want to.
If your Log-Shipping is for Disaster Recovery then what happens if your 2005 server...
May 30, 2012 at 8:26 am
http://msdn.microsoft.com/en-us/library/dd207006.aspx and http://msdn.microsoft.com/en-us/library/ms189902.aspx
When the witness becomes unavailable the Principal can still be used but the mirroring state is DISCONNECTED. The log file of the principal will continue to expand until...
May 18, 2012 at 1:53 am
There was a very good article from Celko over a while ago (yes he does write good articles, without abuse!), describing the sequence a little better than the article pointed...
May 3, 2012 at 1:39 am
One way to do this:
CREATE TABLE #Temp(
Rack_LocationVarChar(50)
);
INSERT INTO #Temp(Rack_Location)
VALUES('c1'),
('c10'),
('c25'),
('c100'),
('c3'),
('c102'),
('c12'),
('c2');
select *
from #Temp
order by Rack_Location;
select *
from...
May 1, 2012 at 1:42 am
http://www.microsoft.com/learning/en/us/certification/cert-sql-server.aspx
I'm currently studying towards 70-432 and still intend to take it. 2008 is still a supported product (and all of our customers use it) , so if you have the...
April 24, 2012 at 1:47 am
Koen Verbeeck (4/11/2012)
And the question is...?
It depends! 😀
April 11, 2012 at 2:43 am
Taken from BOL:
"Instructs the SQL Server Database Engine to discard the plan generated for the query after it executes, forcing the query optimizer to recompile a query plan the next...
March 28, 2012 at 10:10 am
Because you need to run it as Dynamic SQL, using the EXEC command:
EXEC(N'SELECT * FROM #Test1 WHERE Test_Text IN (' + @P1 + ')');
What you have is SQL probably attempting...
March 9, 2012 at 2:46 am
It is because the column that you're trying to convert to a Primary Key has been defined as allowing NULL values, which is not allowed in a PK column.
Simply alter...
March 8, 2012 at 1:46 am
Viewing 15 posts - 616 through 630 (of 928 total)