all groups > sql server programming > june 2005 > threads for saturday june 18
Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
How to design this normalized database
Posted by Zeeshan at 6/18/2005 1:59:01 PM
Design a normalized database for “ABC CarRentalâ€. This is a car rental
company. One non-normalized way to represent this data is with the following
single table with given fields
CarRentalTable
CarId (PK)
Model
Color
CustomerName
CustomerAddress
PickupDate
PickupCity
P... more >>
SQL 2005 XML question.
Posted by Colin Dawson at 6/18/2005 11:45:41 AM
Hi All
I'm currently testing out SQL 2005 June CTP and have a question about one of
the new XML Features. I have an XML document...
<root>
<Item RowID="1" DataType="1" Value="hello">
<Item RowID="2" DataType="1" Value="Again">
<Item RowID="3" DataType="2" Value="100">
</root>
... more >>
How to calculate week number
Posted by Isaias Wesley at 6/18/2005 9:11:04 AM
Hi, Guys. I´m trying to create a script to update a dimension time and I need
input information about the number of week in this year.
For example:
Day Year Quarter Week
01/01/2005 2005 1 1
Ok? But my week starting on Sunday. I tr... more >>
Using the Split UDF to do multiple inserts
Posted by hals_left at 6/18/2005 8:41:17 AM
Hi I need to write a proc to do 1-n Inserts within a transaction.
I am using the udf split function at
http://www.4guysfromrolla.com/webtech/code/udf.txt to process the
inputs which are two variable length csv varchars - invoice line values
and invoice line descriptions.
I need to loop ove... more >>
Permission
Posted by Ed at 6/18/2005 7:31:02 AM
hi,
let say i have two tables called tableA and tableB
if I grant Insert, Update, Delete, Select to users for tableA and no
permission for tableB, in tableA, there is an insert trigger to access data
from tableB,
do users need permission for tableB when they insert data in tableA?
Th... more >>
Return 5 records for each day works fine on developement machine,
Posted by Geevi at 6/18/2005 6:53:02 AM
I need to get 5 avaialble times for each day of a month.
Here is my existing query:
-------------------------------------------------
SELECT InventoryID, AvailableTime
FROM tblInventory Inv1
WHERE InventoryID IN
(
SELECT TOP 5 InventoryID FROM tblInventory Inv2
WHERE
Inv2.Location... more >>
SQL DMO Curosr
Posted by SQL at 6/18/2005 2:31:02 AM
Hi there!
I'm trying to create a script (SQL DMO) which, when run on Server A, will
backup the databases on server B:
DECLARE @object int
DECLARE @hr int
DECLARE @property varchar(255)
DECLARE @return varchar(255)
DECLARE @dbname nvarchar(60)
DECLARE @sqlcmd nvarchar(600)
DECLARE @exec... more >>
Calculating Pay Periods
Posted by ngorbunov NO[at]SPAM onetouchdirect-dot-com.no-spam.invalid at 6/18/2005 12:59:56 AM
The pay period at my company is from sunday to saturday
How can I calculate these pay periods for the next 5 years
Example
StartPeriod EndPerio
20050612 2005061
20050619 2005062
20050626 2005070
Thanks
Nine
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
|