It is currently 30 May 2017 3:35


Post new topic  Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Problem in sql script?
PostPosted: 27 May 2009 12:07 
Offline
Nouveau
Nouveau
User avatar

Joined: 26 May 2009 8:00
Posts: 2
Hello everyone,
I noticed a problem with auth, in practice I create the script to generate the database (I use ANT or MAVEN) and I run into postgre to create tables.
After that I made the test to insert a Group manually and after to cancel but just delete the line in the table GROUP while the associated row in the table SUBJECT not erase.
I check the script and apparently is not created the rule on the cancellation which is required by default to "ON UPDATE NO ACTION ON DELETE NO ACTION."
But if the operations erasure are made directly from the code with smartweb everything works properly.
I wanted to know then how can create the script sql them properly?
kindly guide me

DEAN GRAZIOSI REVIEW RATINGS


Top
   
 Post subject:
PostPosted: 27 May 2011 10:29 
Offline
Nouveau
Nouveau
User avatar

Joined: 27 May 2011 8:00
Posts: 3
Try putting

USE [master]
GO

Before the CREATE DATABASE. Also make sure you login with a user that can actually CREATE a database (Login->Server Roles and Permissions tabs, under SSMS).

_________________
oracle Apps development in ahmedabad

PHP development in ahmedabad

wordpress services in ahmedabad


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 2 posts ] 

All times are UTC+10:00


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited
The site created by Franck YOT. Images, logo, content and trademarks about Control-M products are property of BMC Software.
All the comments are property of their posters. Images, logo, content and design are © copyright by Scheduler-Usage.com. All Rights Reserved