Viewing 15 posts - 2,911 through 2,925 (of 5,356 total)
Yes, the Upsizing Wizard turns yes/no into bit.
However, the problem is, that the insert statement will not work, and I think if that statement can not be changed as pointed...
January 8, 2004 at 3:37 am
Without having your actual table structure this pseudocode
select virusname, count(*) as no_of_recordings from yourtable group by virusname order by no_of_recordings desc
should work
January 8, 2004 at 2:43 am
Are you getting the same error when you choose the 'Table copy' option instead of 'Use a query...'?
January 8, 2004 at 12:56 am
Sorry, haven't read well enough. ![]()
Anyway, how do you import the data?
January 7, 2004 at 3:20 pm
If you have defined an identity property on your subtext_id column, you don't need to import it from Access. SQL Server will automatically generate the sequence.
How do you do the...
January 7, 2004 at 2:19 pm
to add to this. Access exposure can be treated.
January 7, 2004 at 2:14 pm
I can't get bit to work.
So I guess you should use CHAR(5), although that isn't satisfying at all.
January 7, 2004 at 1:59 pm
I also want to make a compliment.
I really like the 'Who's online' feature.
Some interesting well-known names I discovered there. ![]()
January 7, 2004 at 8:56 am
What is 'Topic of the day'?
January 7, 2004 at 8:27 am
declare @sqlstring nvarchar(1000), @table_name varchar(25)
declare @result int
set @table_name = 'pubs.dbo.authors'
set @sqlstring = 'select @c = count(*) from ' + @table_name
exec sp_executesql @sqlstring, N'@c INT OUTPUT', @result OUTPUT
select @result
January 7, 2004 at 7:53 am
CREATE TABLE MyIdentity(
id INT IDENTITY(1,1) NOT NULL,
some_other VARCHAR(10)
)
GO
BEGIN TRAN
INSERT INTO MyIdentity VALUES('Erster')
COMMIT TRAN
BEGIN TRAN
INSERT INTO MyIdentity VALUES('Zweiter')
ROLLBACK TRAN
BEGIN TRAN
INSERT INTO MyIdentity VALUES('Dritter')
COMMIT TRAN
SELECT * FROM MyIdentity
DROP TABLE MyIdentity
GO
results in
id some_other...
January 7, 2004 at 7:32 am
January 7, 2004 at 6:37 am
Amazing !
Works right at the first try with replying and quoting.
January 7, 2004 at 4:20 am
You mean T-SQL?
If you're looking for triggers in SQL Server take a look at CREATE TRIGGER in Books Online.
January 7, 2004 at 3:31 am
Viewing 15 posts - 2,911 through 2,925 (of 5,356 total)