Viewing 15 posts - 1,336 through 1,350 (of 1,409 total)
You have to split up the values in table 2. If you put this into a temp table, you can join this with table 3.
August 13, 2008 at 11:48 pm
You can create a new query and use this as a sub-query within. You can GROUP BY this new query on 'TheMonth' and incluse a SUM on the 'Sales' column.
August 13, 2008 at 7:50 am
@Chirag: on the internet I've found "Min_active_rowversion() was introduced in SP2 for SQL Server 2005".
August 12, 2008 at 12:17 am
In my opinion you should let file handling be done by the OS and not SQL, because each is made for a different purpose.
Most likely you can find programs or...
July 30, 2008 at 6:16 am
Hi
Use this to change the value in field [VoxFilePath] for all records that are 31 days old.
UPDATE Recording
SET VoxFilePath = REPLACE(VoxFilePath,'\\10.2.1.20','\\serv02')
WHERE DATEDIFF(day, RECSTART, GetDate()) = 31
Put this code in an...
July 30, 2008 at 5:39 am
In addition to my first post in this topic:
Someone allready created a SP (SP_Generate_Inserts) to script the contents of a table to INSERT commands. Look at this url: http://vyaskn.tripod.com/code/generate_inserts_2005.txt
July 30, 2008 at 4:56 am
But maybe it is more easy to use a backup-restore procedure to create and fill a database.
Can you clearify why you want/need to script it?
July 30, 2008 at 1:36 am
For my knowledge there is no complete scripting available for what you want to do.
You can easily generate a script to create your tables and even the database (right click...
July 30, 2008 at 1:34 am
You can also create a backup of the current database and restore this backup on the new server and with the new database name. The advantage is that you can...
July 22, 2008 at 1:48 am
maybe some of these links will provide you enough information to create what you want:
http://www.sqlservercentral.com/articles/Performance+Tuning+and+Scaling/2691/
http://www.sqlservercentral.com/Forums/Topic442795-8-1.aspx
http://www.sqlservercentral.com/Forums/Topic517308-338-1.aspx
July 21, 2008 at 12:32 am
To return the value of a SP use this:
CREATE PROCEDURE dbo.Dummy
@Dummy int
@Output varchar(50) output
AS
...
July 19, 2008 at 12:02 pm
Hemalatha (7/18/2008)
Thanks for the reply, Now I need one more help, I want to pass parameters to the stored procedures, How can I pass.
CREATE PROCEDURE dbo.Dummy
@Dummy as int
AS
SELECT *...
July 18, 2008 at 7:14 am
Jacob Pressures (7/13/2008)
Yet i wonder if somehow they will be able to view the information in the database which is what I DON"T WANT OUTSIDE OF THE APPLICATION.
For my understanding...
July 17, 2008 at 11:34 pm
Jacob Pressures (7/17/2008)
HanShiHere is my connection string in VB6
According to the connection string, the application connect to SQL using integrated security. That means the Windows-logins of the user is forwarded...
July 17, 2008 at 11:18 pm
ezekielen (7/17/2008)
To edit DTS in SQL SERVER 2005 you need a microsoft tool named: SQLServer2005_DTS.msi , is available...
July 17, 2008 at 7:28 am
Viewing 15 posts - 1,336 through 1,350 (of 1,409 total)