Viewing 15 posts - 8,056 through 8,070 (of 13,460 total)
The collation of my database is sql_latin1_general_cp850_bin
is a binary collation, so yes, that is case sensitive;
unless you know it's a mistake, the collation must have been put in place for...
February 24, 2011 at 1:11 pm
it depends on the collation of the database you are connecting to.
if you create a database with a case sensitive collation, all the tables and objects are going to require...
February 24, 2011 at 12:35 pm
sql_butterfly (2/24/2011)
February 24, 2011 at 8:40 am
I just checked, and if you restore from a backup, and change the database name to a new database, it does not trigger the create_database event...so my trigger example wouldn't...
February 24, 2011 at 6:04 am
I've done what you are asking with a server wide DDL trigger that looks for the CREATE_DATABASE event;
basically, my example is whenever a database is created, a suite of specific...
February 23, 2011 at 3:18 pm
this is the syntax I typically use;
looks the same as yours too me:(the forum hates{slash n} so you have to html escape it)
CREATE TABLE BULKACT(RAWDATA VARCHAR (50),MoreData varchar(50))
BULK INSERT BULKACT...
February 23, 2011 at 12:57 pm
SKYBVI (2/23/2011)
How can u add the 90 degrees between 3 and 6...
if time is 3:40, the hour hand has moved a lot towards 4.....
Just give it a thought.
Thats...
February 23, 2011 at 10:52 am
blandry (2/23/2011)
Lowell, there will NEVER be any deleted records, but I think I see what you are doing with your suggestion that way, eg, test for update that way, yes?
I...
February 23, 2011 at 9:54 am
ok, you should be able to streamline your trigger, and configure it for multiple rows as well.
see if this makes sence to you:
ALTER TRIGGER [dbo].[Update2ndTable]
ON [dbo].[Table1]
AFTER INSERT, UPDATE
AS
--if there is...
February 23, 2011 at 9:25 am
mzettler (2/23/2011)
SKYBVI (2/22/2011)
3) What is the angle between the minute hand and the hour hand of a wall clock when the time is3:40
with no...
February 23, 2011 at 8:10 am
you'd need a lot more details to get a more refined answer, but offhand, this might get you started:
SELECT
'http://tgl.test.com/plc/login/confirm.asp?'
+ 'c=' ...
February 23, 2011 at 7:24 am
there's no need;
SQL server is designed to work in sets; so the time it takes to apply a calculation against 1 row of data is about the same as 10K...
February 23, 2011 at 6:46 am
this is a fairly common requirement.....delete lots of data, but not the look up tables kind of thing.
the things to watch out for are the order of the deletes...you can't...
February 23, 2011 at 6:33 am
personally i use an integer with a check constraint limiting values to 0 and 1;you could use a BIT data type,but I like an integer to anticipate those situations where...
February 23, 2011 at 5:40 am
here's a cursor example that is based on what you posted:
DECLARE @CustNo VARCHAR(MAX)
DECLARE @SQLQUERY VARCHAR(MAX);
SET @SQLQUERY = ''
declare c1 cursor for
select
CustNo
...
February 22, 2011 at 3:30 pm
Viewing 15 posts - 8,056 through 8,070 (of 13,460 total)