Viewing 15 posts - 781 through 795 (of 5,356 total)
You might also want to use SCOPE_IDENTITY() rather than @@IDENTITY. See BOL for IDENT_CURRENT for an example of these three concepts.
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
March 21, 2005 at 2:19 am
http://sqljunkies.com/WebLog/amachanic/archive/2004/11/10/5065.aspx?Pending=true
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
March 21, 2005 at 2:14 am
Whether or not you have too many indexes, depends on your system and the queries against the db. There is no general answer to this. But I'd like to think...
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
March 21, 2005 at 1:33 am
Sorry to hear that! Hope you have a good insurance for that!
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
March 21, 2005 at 1:24 am
You are a non-native speaker, too??? ![]()
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
March 21, 2005 at 1:12 am
Yes, that's a way to achieve somethings similar. Have a look at BOL for ALTER TABLE. Section G. deals with how to disable and reenable a constraint.
Btw, not everything what other RDBMS...
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
March 21, 2005 at 1:10 am
One might be inclined to think, you're trying to reinvent the wheel. ![]()
Isn't that something for log shipping?
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
March 18, 2005 at 7:52 am
Finally it hit me where I have read this term "Ghost records" before. ![]()
When you examine a data page via DBCC PAGE you also...
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
March 18, 2005 at 7:18 am
Thanks for this. Is there a great difference when someone is familiar with PHP?
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
March 18, 2005 at 5:49 am
Doesn't make too much sense now, but have a look at this and you'll get the idea:
USE PUBS
SELECT TOP 10
au_fname
, au_lname
FROM
authors
WHERE
au_fname > 'L%'
ORDER BY
NEWID()
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
March 18, 2005 at 5:43 am
...ORDER BY NEWID() is a good randomizer, though not really supported for that.
Here's an example using a cursor I picked up from SQL Server MVP Steve Kass
declare @keys...
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
March 18, 2005 at 5:33 am
Are you after something like this?
SELECT
CAST(SO.[name] AS CHAR(20)) AS TableName
, CAST(SI.[name] AS CHAR(30)) AS IndexName
, CAST(SC.[name] AS CHAR(15)) AS ColName
, CAST(ST.[name] AS CHAR(10)) AS TypeVal
, CASE
WHEN (SI.status &...
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
March 18, 2005 at 5:24 am
You might want to try dbcc log( your_db, -1) first. However, I doubt, you will be very happy with what you see there.
But what are you really after anyway?
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
March 18, 2005 at 2:55 am
Sure, at the moment 1206 links related to SQL Server to be found here:
http://www.insidesql.de/component/option,com_bookmarks/Itemid,42/
Almost all are in english ![]()
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
March 18, 2005 at 2:47 am
The following is a brute-force method and should not be every day's practise.
Can you detach the db? If so, detach it, rename or delete the log, attach the db....
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
March 18, 2005 at 1:43 am
Viewing 15 posts - 781 through 795 (of 5,356 total)