Viewing 15 posts - 106 through 120 (of 595 total)
Could you post the procedure so we can take a look. There might be a recursive call somewhere that's not exiting?
August 13, 2003 at 9:14 am
Krishnan,
This script I wrote demonstrates how to create a temporary table to do interval timing, match a stored value using an INNER JOIN with a BETWEEN condition, and...
August 13, 2003 at 8:29 am
How do you know how to filter the data being returned? For instance, you showed a subset of the data in your table. How does the query know...
August 13, 2003 at 7:04 am
You can generate schema in SQL scripts from Enterprise Manager, right-clicking the database --> All Tasks --> Generate SQL Scripts. In the first tab, click Show All, then set...
August 13, 2003 at 6:54 am
quote:
How will using temp tables decrease the amount of RAM used on the server, especially for multiple users? The temp tables...
August 12, 2003 at 1:22 pm
I think that's a fair assumption; that SQL Server performs the CREATE INDEX function in the background after the constraint is added, and that's why there's no control over where...
August 12, 2003 at 12:47 pm
<?php
/* Get the connection */
$cnn = mssql_pconnect(SQL_SERVER, SQL_USER, SQL_PASS);
/* Select the DB */
mssql_select_db(SQL_DB_NAME);
/* Grab a resultset */
$sql = [Your sql statement here];
$oR = mssql_query($sql);
foreach ($oField =...
August 12, 2003 at 12:06 pm
This interval field -- is it able to be of a unit smaller than the smallest time interval stored in the DB? If so, you might be heading for...
August 12, 2003 at 11:40 am
I don't think it's possible with the ALTER TABLE syntax. But like Henry said, is there really any advantage to defining the PK in the ALTER TABLE statement instead...
August 12, 2003 at 11:32 am
Try this:
SELECT
hipodromo.nombre as hipo_nombre
, predefinida.numero as carr_numero
, (
SELECT TOP 1 apostable.corre
FROM predefinida
INNER JOIN apostable
...
August 12, 2003 at 10:25 am
Could you post an example of your code for us to look at?
August 12, 2003 at 10:11 am
I think what you need is:
SELECT
l.id as "fid"
, l.name as "fname"
, l.url as "furl"
, l.description as "fdescription"
, 'Y' as "factive"
, COUNT(*) AS "hit_count"
FROM...
August 12, 2003 at 10:09 am
quote:
But does, 'Insert into '+@addDate+'' work with my above EXEC sp_executesql @query.I defined the @addDate as
DECLARE @addDate table (dated varchar(12))
August 12, 2003 at 7:44 am
Viewing 15 posts - 106 through 120 (of 595 total)