Viewing 15 posts - 241 through 255 (of 270 total)
Bulk insert will by default ignore constraints and triggers. If you want to check triggers and constraints when using bulk insert then you have to specify in a with clause...
May 13, 2004 at 1:20 pm
Oops I obviously meant net send. Here have an example too
xp_cmdshell 'net send Bblogs big fluffy pupppies'
and just in case your trying to forget dos as well!
NET SEND {name |...
April 28, 2004 at 2:47 pm
you could use xp_cmdshell and call netsend with it. Although again you'll need to have some way of picking the correct user or computer to send it to.
Dave
April 28, 2004 at 2:41 pm
You could have a look at this
http://vyaskn.tripod.com/oracle_sql_server_differences_equivalents.htm
Also do note there is a big difference in the way triggers are implemented to. So if you use them they will...
April 27, 2004 at 1:06 pm
You have stopped the sql server services haven't you?
Use the service manager to check.
April 27, 2004 at 1:01 pm
Cory
It's quite difficult with a lot of data to look through and find duplicate records. Have you tried a query of the form
SELECT PRIMARY_KEY
FROM TABLE
GROUP BY PRIMARY_KEY
HAVING COUNT(*) >...
April 26, 2004 at 5:06 pm
You can get it to run on 2003 I had to do it to retrieve info from a very old database but i wouldn't advise running it for real.
I'd upgrade...
April 23, 2004 at 12:03 pm
Ansi padding when set to on stops the trailing blanks in character values being trimmed when they are inserted into varchar columns, i think it does the same with vabinary.
Ansi...
April 23, 2004 at 11:56 am
The following articles will tell you how to do it
http://www.sqlteam.com/item.asp?ItemID=3331
http://www.sql-server-performance.com/rd_delete_duplicates.asp
There is also an article on technet about how to do this
Dave
April 23, 2004 at 2:59 am
Augusto
I'm assuming from what you've said that column a is not unique.
There is two differnt ways of doing this both involving triggers depending on what you require. Basically do you...
April 22, 2004 at 3:41 pm
Peg
That wasn't what I meant. For your query as posted to return a result each Grade entry for each row would need to be K and 1 and 2...
April 22, 2004 at 3:18 pm
Not sure what you're trying to achieve but don't you really mean this?
select school_code, grade, NoStudents, FinalSubmit from spring_2004_data
where
(grade='k' and ((NoStudents='N' and FinalSubmit='Y') or NoStudents='Y')) or
...
April 22, 2004 at 10:03 am
I've got jobs that rebuild the indexes on my user databases and a script for defragmenting them when they become too defragmented but it just whether this should be extended...
April 22, 2004 at 8:17 am
How much memory do you have in your server.
I dont believe dbcc perfmon will give an accurate cache hit ratio in configurations where AWE is enabled.
Have tried monitoring the server...
April 22, 2004 at 8:10 am
I'd put the logs on Raid 1 myself you don't really won't to lose them if a disk fails. Which they seem to be doing a lot more in recent...
April 22, 2004 at 7:16 am
Viewing 15 posts - 241 through 255 (of 270 total)